blob: 7e27eba45fe73c47c378bc56cd52e8fda1f08a5d [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
Duncan P. N. Exon Smithcd07efa12015-03-31 00:47:15 +00004; Don't crash on null operands. When we add a verify check for this, also
5; require non-null in the assembler and rework this test to check for that ala
6; test/Assembler/invalid-mdcompileunit-null-file.ll.
7!named = !{!0}
Duncan P. N. Exon Smithad6eb1272015-02-20 03:17:58 +00008!0 = !MDDerivedType(tag: DW_TAG_pointer_type, baseType: null)
Duncan P. N. Exon Smithad6eb1272015-02-20 03:17:58 +00009
Duncan P. N. Exon Smithcd07efa12015-03-31 00:47:15 +000010; CHECK: !named = !{!0}
Duncan P. N. Exon Smithad6eb1272015-02-20 03:17:58 +000011; CHECK: !0 = !MDDerivedType({{.*}}baseType: null{{.*}})