aboutsummaryrefslogtreecommitdiffstats
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
commit7aca152472cd2b0dba689e419764ac0dc781011e (patch)
tree0dd48770cc0b11e59fc5e5d79994070c76e82a90 /test/MC
parent720b625d0c7e234aac8f14fc3f2cfc8be8e351a7 (diff)
downloadexternal_llvm-7aca152472cd2b0dba689e419764ac0dc781011e.zip
external_llvm-7aca152472cd2b0dba689e419764ac0dc781011e.tar.gz
external_llvm-7aca152472cd2b0dba689e419764ac0dc781011e.tar.bz2
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 8c35d2a..2721fee 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: