metadata-null-operands.ll 464 B

1234567891011
  1. ; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s
  2. ; RUN: verify-uselistorder %s
  3. ; Don't crash on null operands. When we add a verify check for this, also
  4. ; require non-null in the assembler and rework this test to check for that ala
  5. ; test/Assembler/invalid-mdcompileunit-null-file.ll.
  6. !named = !{!0}
  7. !0 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: null)
  8. ; CHECK: !named = !{!0}
  9. ; CHECK: !0 = !DIDerivedType({{.*}}baseType: null{{.*}})