1 ; RUN: llvm-as < %s | llvm-dis | FileCheck %s
2 ; RUN: verify-uselistorder %s
4 !named = !{!0, !1, !2, !3, !4, !5, !6, !7, !8, !9, !10}
7 !1 = !{} ; This should merge with !0.
9 !3 = !{!0} ; This should merge with !2.
16 !10 = !{!10} ; This should become distinct.
18 ; CHECK: !named = !{!0, !0, !1, !1, !2, !3, !4, !5, !6, !7, !8}
20 ; CHECK-NEXT: !1 = !{!0}
21 ; CHECK-NEXT: !2 = distinct !{}
22 ; CHECK-NEXT: !3 = distinct !{}
23 ; CHECK-NEXT: !4 = distinct !{!0}
24 ; CHECK-NEXT: !5 = distinct !{!0}
25 ; CHECK-NEXT: !6 = distinct !{!6}
26 ; CHECK-NEXT: !7 = distinct !{!7}
27 ; CHECK-NEXT: !8 = distinct !{!8}