summaryrefslogtreecommitdiff
path: root/test/MC
diff options
context:
space:
mode:
authorKevin Enderby <enderby@apple.com>2009-07-13 23:15:14 +0000
committerKevin Enderby <enderby@apple.com>2009-07-13 23:15:14 +0000
commit5f1f0b8f7e7087d456ddc3efdb4bed21a4ae359c (patch)
treedc9d7b87dc1fcbc62ab9711514782ee4ff11be0f /test/MC
parent45f91b70c4caedc05427d48963f2664aacf45d9e (diff)
downloadllvm-5f1f0b8f7e7087d456ddc3efdb4bed21a4ae359c.tar.gz
llvm-5f1f0b8f7e7087d456ddc3efdb4bed21a4ae359c.tar.bz2
llvm-5f1f0b8f7e7087d456ddc3efdb4bed21a4ae359c.tar.xz
Added llvm-mc support for parsing the .abort directive.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75545 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC')
-rw-r--r--test/MC/AsmParser/directive_abort.s8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/MC/AsmParser/directive_abort.s b/test/MC/AsmParser/directive_abort.s
new file mode 100644
index 0000000000..e5b0c9ad92
--- /dev/null
+++ b/test/MC/AsmParser/directive_abort.s
@@ -0,0 +1,8 @@
+# RUN: llvm-mc %s | FileCheck %s
+
+# CHECK: TEST0:
+# CHECK: .abort "please stop assembing"
+# CHECK: .abort
+TEST0:
+ .abort "please stop assembing"
+.abort