mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
10 lines
413 B
Swift
10 lines
413 B
Swift
// RUN: %empty-directory(%t)
|
|
// Default output:
|
|
// RUN: cd %t; %target-swift-frontend -emit-module -module-name foo -whole-module-optimization %s
|
|
// RUN: test -f %t/foo.swiftmodule
|
|
|
|
// RUN: %empty-directory(%t)
|
|
// RUN: %target-swift-frontend -emit-module -module-name foo -emit-module-path %t/bar.swiftmodule -whole-module-optimization %s
|
|
// RUN: test -f %t/bar.swiftmodule
|
|
// RUN: not test -f %t/foo.swiftmodule
|