aboutsummaryrefslogtreecommitdiff
path: root/test/MC/AsmParser/directive_include.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/AsmParser/directive_include.s')
-rw-r--r--test/MC/AsmParser/directive_include.s9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/MC/AsmParser/directive_include.s b/test/MC/AsmParser/directive_include.s
new file mode 100644
index 000000000000..fabd941d9999
--- /dev/null
+++ b/test/MC/AsmParser/directive_include.s
@@ -0,0 +1,9 @@
+# RUN: llvm-mc -triple i386-unknown-unknown %s -I %p | FileCheck %s
+
+# CHECK: TESTA:
+# CHECK: TEST0:
+# CHECK: a = 0
+# CHECK: TESTB:
+TESTA:
+ .include "directive_set.s"
+TESTB: