| Duncan P. N. Exon Smith | 1c93116 | 2015-02-13 01:46:02 +0000 | [diff] [blame^] | 1 | ; 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, !3} |
| 5 | !named = !{!0, !1, !2, !3, !4} |
| 6 | |
| 7 | ; CHECK: !0 = distinct !{} |
| 8 | ; CHECK-NEXT: !1 = distinct !{} |
| 9 | !0 = distinct !{} |
| 10 | !1 = distinct !{} |
| 11 | |
| 12 | ; CHECK-NEXT: !2 = !MDImportedEntity(tag: DW_TAG_imported_module, scope: !0, entity: !1, line: 7, name: "foo") |
| 13 | !2 = !MDImportedEntity(tag: DW_TAG_imported_module, scope: !0, entity: !1, |
| 14 | line: 7, name: "foo") |
| 15 | |
| 16 | ; CHECK-NEXT: !3 = !MDImportedEntity(tag: DW_TAG_imported_module, scope: !0, name: "") |
| 17 | !3 = !MDImportedEntity(tag: DW_TAG_imported_module, scope: !0) |
| 18 | !4 = !MDImportedEntity(tag: DW_TAG_imported_module, scope: !0, entity: null, |
| 19 | line: 0, name: "") |
| 20 | |