summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/AsmParser/defsym_error1.s
diff options
context:
space:
mode:
authorColin LeMahieu <colinl@codeaurora.org>2015-06-07 01:46:24 +0000
committerColin LeMahieu <colinl@codeaurora.org>2015-06-07 01:46:24 +0000
commit229a1e69fcd1ee1b52fb811a942bdfb86bc6f5d8 (patch)
tree1a51932a79cdb90e30306fed13788eb190d9f628 /llvm/test/MC/AsmParser/defsym_error1.s
parent4b22fa7437fa9aab58f335bd5eee4665d7c92748 (diff)
downloadbcm5719-llvm-229a1e69fcd1ee1b52fb811a942bdfb86bc6f5d8.tar.gz
bcm5719-llvm-229a1e69fcd1ee1b52fb811a942bdfb86bc6f5d8.zip
Teaching llvm-mc how to understand the defsym command line option. This allows integer-constant symbols to be defined on the command line and used during assembly.
llvm-svn: 239240
Diffstat (limited to 'llvm/test/MC/AsmParser/defsym_error1.s')
-rw-r--r--llvm/test/MC/AsmParser/defsym_error1.s2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/test/MC/AsmParser/defsym_error1.s b/llvm/test/MC/AsmParser/defsym_error1.s
new file mode 100644
index 00000000000..872577844d4
--- /dev/null
+++ b/llvm/test/MC/AsmParser/defsym_error1.s
@@ -0,0 +1,2 @@
+# RUN: not llvm-mc -filetype=obj -triple=i386-unknown-elf -defsym aaoeuaoeu %s 2>&1 | FileCheck %s
+# CHECK: defsym must be of the form: sym=value
OpenPOWER on IntegriCloud