blob: faa0e72433d89f701660cf33dc162a1a9b13978e [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: [2 x i8]* [[STRING_A:@[0-9]+]]
// CHECK-SAME: @"$sSo1AC32objc_runtime_visible_conformance10MyProtocolACWP"
// DirectObjCClassName
// CHECK-SAME: i32 16
// CHECK: [[STRING_A]] = private unnamed_addr constant [2 x i8] c"A\00"