summaryrefslogtreecommitdiffstats
path: root/llvm/test/Assembler/invalid-mdexpression-verify.ll
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-02-13 01:42:09 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-02-13 01:42:09 +0000
commit0c5c0124acc84754fdf81bf5a98a807ee33c9bae (patch)
treebba3cae61af33ef739b738ccfa01f20febddbad2 /llvm/test/Assembler/invalid-mdexpression-verify.ll
parent72fe2d0b7928257881bdaba31984ccfc127eed08 (diff)
downloadbcm5719-llvm-0c5c0124acc84754fdf81bf5a98a807ee33c9bae.tar.gz
bcm5719-llvm-0c5c0124acc84754fdf81bf5a98a807ee33c9bae.zip
AsmWriter/Bitcode: MDExpression
llvm-svn: 229023
Diffstat (limited to 'llvm/test/Assembler/invalid-mdexpression-verify.ll')
-rw-r--r--llvm/test/Assembler/invalid-mdexpression-verify.ll9
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm/test/Assembler/invalid-mdexpression-verify.ll b/llvm/test/Assembler/invalid-mdexpression-verify.ll
new file mode 100644
index 00000000000..e573ef32155
--- /dev/null
+++ b/llvm/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)
OpenPOWER on IntegriCloud