blob: 2d013d0e912ae4ef8127cc7490ae4f491a039aa0 [file] [log] [blame]
Duncan P. N. Exon Smithea8cbe92015-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 Smith2f5cbb52015-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 Smithe56023a2015-04-29 16:38:44 +00008!0 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null)
Duncan P. N. Exon Smithea8cbe92015-02-20 03:17:58 +00009
Duncan P. N. Exon Smith2f5cbb52015-03-31 00:47:15 +000010; CHECK: !named = !{!0}
Duncan P. N. Exon Smithe56023a2015-04-29 16:38:44 +000011; CHECK: !0 = !DIDerivedType({{.*}}baseType: null{{.*}})