| // RUN: %empty-directory(%t) |
| |
| // RUN: %target-swift-frontend -enable-resilience -emit-parseable-module-interface-path %t.swiftinterface -module-name t %s -emit-module -o /dev/null |
| // RUN: %FileCheck %s < %t.swiftinterface -check-prefix=CHECK-SWIFTINTERFACE |
| // |
| // CHECK-SWIFTINTERFACE: {{swift-module-flags:.* -enable-resilience}} |
| |
| // Make sure flags show up when filelists are enabled |
| |
| // RUN: %target-build-swift %s -driver-filelist-threshold=0 -emit-parseable-module-interface -o %t/foo -module-name foo -module-link-name fooCore -force-single-frontend-invocation 2>&1 |
| // RUN: %FileCheck %s < %t/foo.swiftinterface --check-prefix CHECK-FILELIST-INTERFACE |
| |
| // CHECK-FILELIST-INTERFACE: swift-module-flags: |
| // CHECK-FILELIST-INTERFACE-SAME: -target |
| // CHECK-FILELIST-INTERFACE-SAME: -module-link-name fooCore |
| // CHECK-FILELIST-INTERFACE-SAME: -module-name foo |
| |
| public func foo() { } |