Skip to content

Commit a1bc577

Browse files
committed
Ensure that -internal-import-bridging-header doesn't show up in a textual interface
1 parent 085f3b4 commit a1bc577

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
// RUN: %empty-directory(%t)
2+
3+
// RUN: %target-swift-emit-module-interface(%t/MyModule.swiftinterface) %s -module-name MyModule -internal-import-bridging-header %S/../Inputs/c-bridging-header.h -sdk %clang-importer-sdk -enable-library-evolution
4+
5+
// RUN: %FileCheck %s < %t/MyModule.swiftinterface
6+
7+
// CHECK-NOT: internal-import-bridging-header
8+
9+
// CHECK: public func g()
10+
11+
func getX(point: MyPoint) -> Double { point.x }
12+
13+
public func g() {
14+
}

0 commit comments

Comments
 (0)