Files
swift-mirror/test/DebugInfo/implicitdecl.swift
Duncan Exon Smith c6d42db070 Adapt to MD* => DI* renaming of debug info types
Applied the upgrade script from r236120 (LLVM) and r236121 (CFE).  This is the
final step of rdar://problem/20434113.



Swift SVN r27925
2015-04-29 21:40:21 +00:00

15 lines
437 B
Swift

// 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: "_TtCSo8Protocol"
// CHECK: ![[ObjectiveC]] = !MDModule(name: "ObjectiveC"
import Foundation
public func f() {
var protocolObject = NSProtocolFromString("HelperTool")!
}