blob: fd1e0c19deaa17082655845f1ffbfc4a26c45b2e [file] [log] [blame]
// RUN: %target-swift-emit-silgen -sdk %S/Inputs -I %S/Inputs -enable-source-import %s -enable-sil-ownership | %FileCheck %s
// REQUIRES: objc_interop
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