Files
swift-mirror/test/ModuleInterface/module_abi_name.swift
Doug Gregor 2a28fed34d Allow one to separately specify the ABI name of a module.
Introduce a new compiler flag `-module-abi-name <name>` that uses the
given name as the ABI name for the module (rather than the module's
name in source code). The ABI name impacts name mangling and metadata.
2021-03-12 07:42:07 -08:00

6 lines
254 B
Swift

// RUN: %empty-directory(%t)
// RUN: %target-swift-frontend -typecheck -emit-module-interface-path %t/Hello.swiftinterface -module-name Hello -module-abi-name Goodbye %s
// RUN: %FileCheck %s < %t/Hello.swiftinterface
// CHECK: -module-abi-name Goodbye