mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Ensure that -internal-import-bridging-header doesn't show up in a textual interface
This commit is contained in:
14
test/ClangImporter/InternalBridgingHeader/interface.swift
Normal file
14
test/ClangImporter/InternalBridgingHeader/interface.swift
Normal file
@@ -0,0 +1,14 @@
|
||||
// RUN: %empty-directory(%t)
|
||||
|
||||
// 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
|
||||
|
||||
// RUN: %FileCheck %s < %t/MyModule.swiftinterface
|
||||
|
||||
// CHECK-NOT: internal-import-bridging-header
|
||||
|
||||
// CHECK: public func g()
|
||||
|
||||
func getX(point: MyPoint) -> Double { point.x }
|
||||
|
||||
public func g() {
|
||||
}
|
||||
Reference in New Issue
Block a user