diff options
Diffstat (limited to 'test/Assembler/invalid-mdexpression-verify.ll')
-rw-r--r-- | test/Assembler/invalid-mdexpression-verify.ll | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/Assembler/invalid-mdexpression-verify.ll b/test/Assembler/invalid-mdexpression-verify.ll new file mode 100644 index 0000000..e573ef3 --- /dev/null +++ b/test/Assembler/invalid-mdexpression-verify.ll @@ -0,0 +1,9 @@ +; RUN: not llvm-as -disable-output < %s 2>&1 | FileCheck -check-prefix VERIFY %s +; RUN: llvm-as -disable-verify < %s | llvm-dis | FileCheck -check-prefix NOVERIFY %s + +; NOVERIFY: !named = !{!0} +!named = !{!0} + +; NOVERIFY: !0 = !MDExpression(0, 1, 9, 7, 2) +; VERIFY: assembly parsed, but does not verify +!0 = !MDExpression(0, 1, 9, 7, 2) |