Files
swift-mirror/test/DebugInfo/attributes.swift
Adrian Prantl a4967ee9cc Debug Info: Represent classes as structure_types with their runtime
language set to "Swift".

Swift SVN r6144
2013-07-11 00:54:13 +00:00

9 lines
319 B
Swift

// RUN: %swift -triple x86_64-apple-darwin10 %s -emit-llvm -g -o - | FileCheck %s
// CHECK-DAG: ![[TY0:[0-9]+]] = {{.*}} [ DW_TAG_structure_type ] [{{.*}}Ty0{{.*}}] [line [[@LINE+1]]
class [objc] Ty0 {}
// CHECK-DAG: i32 [[@LINE+1]], metadata ![[TY0]],{{.*}}[ DW_TAG_variable ] [{{.*}}strong{{.*}}]
var strong : Ty0