1 ; RUN: llvm-as < %s | llvm-dis | FileCheck %s
2 ; RUN: verify-uselistorder %s
4 ; CHECK: !named = !{!0, !1, !1, !2, !2, !2, !2, !3, !4, !2}
5 !named = !{!0, !1, !2, !3, !4, !5, !6, !7, !8, !9}
10 ; CHECK-NEXT: !1 = !GenericDINode(tag: DW_TAG_entry_point, header: "some\00header", operands: {!0, !2, !2})
11 !1 = !GenericDINode(tag: 3, header: "some\00header", operands: {!0, !3, !4})
12 !2 = !GenericDINode(tag: 3, header: "some\00header", operands: {!{}, !3, !4})
14 ; CHECK-NEXT: !2 = !GenericDINode(tag: DW_TAG_entry_point)
15 !3 = !GenericDINode(tag: 3)
16 !4 = !GenericDINode(tag: 3, header: "")
17 !5 = !GenericDINode(tag: 3, operands: {})
18 !6 = !GenericDINode(tag: 3, header: "", operands: {})
20 ; CHECK-NEXT: !3 = distinct !GenericDINode(tag: DW_TAG_entry_point)
21 !7 = distinct !GenericDINode(tag: 3)
23 ; CHECK-NEXT: !4 = !GenericDINode(tag: 65535)
24 !8 = !GenericDINode(tag: 65535)
27 !9 = !GenericDINode(tag: DW_TAG_entry_point)