mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
I did this using a sed pattern and verified by hand that I was only touching target-swift-emit-silgen lines.
14 lines
661 B
Swift
14 lines
661 B
Swift
// RUN: %target-swift-emit-silgen -sdk %S/Inputs -I %S/Inputs -enable-source-import %s -enable-objc-interop | %FileCheck %s
|
|
|
|
import gizmo
|
|
|
|
// Importing the Clang module alone should not force the witness tables of
|
|
// the imported types' conformances.
|
|
|
|
// CHECK-NOT: sil_witness_table shared NSRuncingOptions: RawRepresentable module gizmo
|
|
// CHECK-NOT: sil_witness_table shared NSRuncingOptions: Equatable module gizmo
|
|
// CHECK-NOT: sil_witness_table shared NSRuncingOptions: Hashable module gizmo
|
|
// CHECK-NOT: sil_witness_table shared NSFungingMask: RawRepresentable module gizmo
|
|
// CHECK-NOT: sil_witness_table hidden NSRuncingOptions: Bub module objc_enum
|
|
|