summaryrefslogtreecommitdiff
path: root/test/MC
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-07-16 06:14:39 +0000
committerChris Lattner <sabre@nondot.org>2009-07-16 06:14:39 +0000
commit8e25e2d801bb1119cea080c7c860adcfbf85d65d (patch)
tree0dd48770cc0b11e59fc5e5d79994070c76e82a90 /test/MC
parentc2b443a698493d3f2fe6ce2d8e7798a659eb3aae (diff)
downloadllvm-8e25e2d801bb1119cea080c7c860adcfbf85d65d.tar.gz
llvm-8e25e2d801bb1119cea080c7c860adcfbf85d65d.tar.bz2
llvm-8e25e2d801bb1119cea080c7c860adcfbf85d65d.tar.xz
implement .include in the lexer/parser instead of passing it into the streamer.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75896 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC')
-rw-r--r--test/MC/AsmParser/directive_include.s13
1 files changed, 7 insertions, 6 deletions
diff --git a/test/MC/AsmParser/directive_include.s b/test/MC/AsmParser/directive_include.s
index 8c35d2a142..2721fee035 100644
--- a/test/MC/AsmParser/directive_include.s
+++ b/test/MC/AsmParser/directive_include.s
@@ -1,8 +1,9 @@
-# RUN: llvm-mc %s | FileCheck %s
+# RUN: llvm-mc %s -I %p | FileCheck %s
+# CHECK: TESTA:
# 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"
+# CHECK: .set a, 0
+# CHECK: TESTB:
+TESTA:
+ .include "directive_set.s"
+TESTB: