blob: ca13e27662d4ff4e00fb883178e8c8331968ba09 [file] [log] [blame]
Duncan P. N. Exon Smith3bfa8d02015-02-13 01:43:22 +00001; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s
2; RUN: verify-uselistorder %s
3
4; CHECK: !named = !{!0, !1, !2, !3, !4, !4}
5!named = !{!0, !1, !2, !3, !4, !5}
6
Duncan P. N. Exon Smith99f12692015-02-20 20:35:17 +00007!0 = distinct !{}
Duncan P. N. Exon Smithe56023a2015-04-29 16:38:44 +00008!1 = !DIFile(filename: "path/to/file", directory: "/path/to/dir")
9!2 = !DICompositeType(tag: DW_TAG_structure_type, name: "Object")
Duncan P. N. Exon Smith3bfa8d02015-02-13 01:43:22 +000010
Duncan P. N. Exon Smithe56023a2015-04-29 16:38:44 +000011; CHECK: !2 = !DICompositeType({{.*}})
12; CHECK-NEXT: !3 = !DIObjCProperty(name: "foo", file: !1, line: 7, setter: "setFoo", getter: "getFoo", attributes: 7, type: !2)
13!3 = !DIObjCProperty(name: "foo", file: !1, line: 7, setter: "setFoo",
Duncan P. N. Exon Smith3bfa8d02015-02-13 01:43:22 +000014 getter: "getFoo", attributes: 7, type: !2)
15
Duncan P. N. Exon Smithe56023a2015-04-29 16:38:44 +000016; CHECK-NEXT: !4 = !DIObjCProperty()
17!4 = !DIObjCProperty(name: "", file: null, line: 0, setter: "", getter: "",
Duncan P. N. Exon Smith3bfa8d02015-02-13 01:43:22 +000018 attributes: 0, type: null)
Duncan P. N. Exon Smithe56023a2015-04-29 16:38:44 +000019!5 = !DIObjCProperty()