1 ; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s
2 ; RUN: verify-uselistorder %s
4 ; CHECK: !named = !{!0, !0, !1, !2, !3, !4, !5, !6, !7, !8, !8}
5 !named = !{!0, !1, !2, !3, !4, !5, !6, !7, !8, !9, !10}
7 ; CHECK: !0 = !MDSubrange(count: 3)
8 ; CHECK-NEXT: !1 = !MDSubrange(count: 3, lowerBound: 4)
9 ; CHECK-NEXT: !2 = !MDSubrange(count: 3, lowerBound: -5)
10 !0 = !MDSubrange(count: 3)
11 !1 = !MDSubrange(count: 3, lowerBound: 0)
13 !2 = !MDSubrange(count: 3, lowerBound: 4)
14 !3 = !MDSubrange(count: 3, lowerBound: -5)
16 ; CHECK-NEXT: !3 = !MDEnumerator(value: 7, name: "seven")
17 ; CHECK-NEXT: !4 = !MDEnumerator(value: -8, name: "negeight")
18 ; CHECK-NEXT: !5 = !MDEnumerator(value: 0, name: "")
19 !4 = !MDEnumerator(value: 7, name: "seven")
20 !5 = !MDEnumerator(value: -8, name: "negeight")
21 !6 = !MDEnumerator(value: 0, name: "")
23 ; CHECK-NEXT: !6 = !MDBasicType(tag: DW_TAG_base_type, name: "name", size: 1, align: 2, encoding: DW_ATE_unsigned_char)
24 ; CHECK-NEXT: !7 = !MDBasicType(tag: DW_TAG_unspecified_type, name: "decltype(nullptr)")
25 ; CHECK-NEXT: !8 = !MDBasicType(tag: DW_TAG_base_type)
26 !7 = !MDBasicType(tag: DW_TAG_base_type, name: "name", size: 1, align: 2, encoding: DW_ATE_unsigned_char)
27 !8 = !MDBasicType(tag: DW_TAG_unspecified_type, name: "decltype(nullptr)")
28 !9 = !MDBasicType(tag: DW_TAG_base_type)
29 !10 = !MDBasicType(tag: DW_TAG_base_type, name: "", size: 0, align: 0, encoding: 0)