summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC
diff options
context:
space:
mode:
authorSanne Wouda <sanne.wouda@arm.com>2017-02-08 16:48:35 +0000
committerSanne Wouda <sanne.wouda@arm.com>2017-02-08 16:48:35 +0000
commitfc674bcb1211eb937823f36852e4b6cf7597a23a (patch)
tree727d817e3b53e96c468a7264b5f26eb7200908bf /llvm/test/MC
parent1df58fc2f95b8c01cd24a03a9d0f1c4b9d88e3dd (diff)
downloadbcm5719-llvm-fc674bcb1211eb937823f36852e4b6cf7597a23a.tar.gz
bcm5719-llvm-fc674bcb1211eb937823f36852e4b6cf7597a23a.zip
Move inline asm diags tests to an ARM directory.
The assembler syntaxes (and parsers) differ too much to expect this test to pass for all of them. llvm-svn: 294475
Diffstat (limited to 'llvm/test/MC')
-rw-r--r--llvm/test/MC/ARM/inline-asm-diags.ll9
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm/test/MC/ARM/inline-asm-diags.ll b/llvm/test/MC/ARM/inline-asm-diags.ll
new file mode 100644
index 00000000000..a279640cd03
--- /dev/null
+++ b/llvm/test/MC/ARM/inline-asm-diags.ll
@@ -0,0 +1,9 @@
+; RUN: not llc -march=arm -filetype=obj < %s 2>&1 -o /dev/null | FileCheck %s
+
+module asm ".word 0x10"
+module asm ".word -bar"
+
+; CHECK: <inline asm>:2:{{[0-9]+}}: error: expected relocatable expression
+
+module asm ".word -foo"
+; CHECK: <inline asm>:3:{{[0-9]+}}: error: expected relocatable expression
OpenPOWER on IntegriCloud