Duncan P. N. Exon Smith | ad6eb127 | 2015-02-20 03:17:58 +0000 | [diff] [blame^] | 1 | ; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s |
| 2 | ; RUN: verify-uselistorder %s |
| 3 | |
| 4 | ; Don't crash on null operands. (If/when we add a verify check for these, we |
| 5 | ; should disable the verifier for this test and remove this comment; the test |
| 6 | ; is still important.) |
| 7 | !named = !{!0, !1} |
| 8 | !0 = !MDDerivedType(tag: DW_TAG_pointer_type, baseType: null) |
| 9 | !1 = !MDCompileUnit(language: DW_LANG_C, file: null) |
| 10 | |
| 11 | ; CHECK: !named = !{!0, !1} |
| 12 | ; CHECK: !0 = !MDDerivedType({{.*}}baseType: null{{.*}}) |
| 13 | ; CHECK: !1 = !MDCompileUnit({{.*}}file: null{{.*}}) |