Duncan P. N. Exon Smith | ea8cbe9 | 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 | |
Duncan P. N. Exon Smith | 2f5cbb5 | 2015-03-31 00:47:15 +0000 | [diff] [blame] | 4 | ; 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 Smith | e56023a | 2015-04-29 16:38:44 +0000 | [diff] [blame] | 8 | !0 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null) |
Duncan P. N. Exon Smith | ea8cbe9 | 2015-02-20 03:17:58 +0000 | [diff] [blame] | 9 | |
Duncan P. N. Exon Smith | 2f5cbb5 | 2015-03-31 00:47:15 +0000 | [diff] [blame] | 10 | ; CHECK: !named = !{!0} |
Duncan P. N. Exon Smith | e56023a | 2015-04-29 16:38:44 +0000 | [diff] [blame] | 11 | ; CHECK: !0 = !DIDerivedType({{.*}}baseType: null{{.*}}) |