blob: 9e0cfac0c1741fa98c240a4ac9afadd5350ce7d0 [file] [log] [blame]
// 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