summaryrefslogtreecommitdiff
path: root/test/MC
diff options
context:
space:
mode:
authorKevin Enderby <enderby@apple.com>2009-07-14 23:21:55 +0000
committerKevin Enderby <enderby@apple.com>2009-07-14 23:21:55 +0000
commit1f049b24c7e520ecfd2291b7d30eb5abc3aee852 (patch)
tree3d0ccca57a54fe10e39a2325b3acc214c58ad77a /test/MC
parent1f318e00bad8b7499ef14d5732bcbda89243ec89 (diff)
downloadllvm-1f049b24c7e520ecfd2291b7d30eb5abc3aee852.tar.gz
llvm-1f049b24c7e520ecfd2291b7d30eb5abc3aee852.tar.bz2
llvm-1f049b24c7e520ecfd2291b7d30eb5abc3aee852.tar.xz
Added llvm-mc support for parsing the .include directive.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75711 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC')
-rw-r--r--test/MC/AsmParser/directive_include.s8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/MC/AsmParser/directive_include.s b/test/MC/AsmParser/directive_include.s
new file mode 100644
index 0000000000..8c35d2a142
--- /dev/null
+++ b/test/MC/AsmParser/directive_include.s
@@ -0,0 +1,8 @@
+# RUN: llvm-mc %s | FileCheck %s
+
+# CHECK: TEST0:
+# CHECK: .include "some/include/file"
+# CHECK: .include "mary had a little lamb"
+TEST0:
+ .include "some/include/file"
+ .include "mary had a little lamb"