blob: 6c88c446ef8c35b15b5fb054998cc9d13442c081 [file] [log] [blame]
// RUN: %target-swift-frontend -enable-objc-interop -I %S/../Inputs/custom-modules %s -emit-ir | %FileCheck %s
import ObjCRuntimeVisible
protocol MyProtocol {}
protocol YourProtocol {}
extension A : MyProtocol {}
extension A : YourProtocol {}
// CHECK-LABEL: @"$sSo1AC32objc_runtime_visible_conformance10MyProtocolACMc"
// CHECK-SAME: @"$s32objc_runtime_visible_conformance10MyProtocolMp"
// CHECK-SAME: [[STRING_A:@[0-9]+]]
// CHECK-SAME: @"$sSo1AC32objc_runtime_visible_conformance10MyProtocolACWP"
// DirectObjCClassName
// CHECK-SAME: i32 16
// CHECK: [[STRING_A]] = private constant [22 x i8] c"MyRuntimeVisibleClass\00"