blob: d1ee14a11e1a00449a4d107eaa29e124a6ddbdd7 [file] [log] [blame]
// RUN: %target-swift-frontend -emit-ir -g %s -o - | %FileCheck %s
// REQUIRES: objc_interop
// CHECK: !DICompositeType(tag: DW_TAG_structure_type, name: "Protocol",
// CHECK-SAME: scope: ![[ObjectiveC:[0-9]+]]
// CHECK-SAME: identifier: "$sSo8ProtocolCD"
// CHECK: ![[ObjectiveC]] = !DIModule({{.*}}, name: "ObjectiveC"
import Foundation
public func f() {
var protocolObject = NSProtocolFromString("HelperTool")!
}