mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Replace with -merge-modules, which means we can also remove the now redundant `-disable-diagnostic-passes` & `-disable-sil-perf-optzns` options.
10 lines
346 B
Swift
10 lines
346 B
Swift
// RUN: %empty-directory(%t)
|
|
|
|
// RUN: %target-swift-frontend -emit-module -primary-file %s -module-name test -o %t/partial.swiftmodule -O
|
|
|
|
// RUN: %target-swift-frontend -merge-modules -emit-module %t/partial.swiftmodule -module-name test -o %t/test.swiftmodule
|
|
|
|
public func makeMirror(object x: Any) -> Mirror {
|
|
return Mirror(reflecting: x)
|
|
}
|