blob: acae1d4be99042f13c31359fae21de9342faa2b2 [file] [log] [blame]
Duncan P. N. Exon Smithad6eb1272015-02-20 03:17:58 +00001; 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{{.*}})