summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@complang.org>2013-03-24 13:36:23 -0400
committerAdrian Thurston <thurston@complang.org>2013-03-24 13:36:23 -0400
commitfc0ffc8f5e77b1b599f26ea912ae6c9e010f3a77 (patch)
treea00c88ae30c4239e60045495b3e54a95a463b5c7 /test
parent79e5a2a534097490cc0832310ed8f5508e57bc9d (diff)
downloadcolm-fc0ffc8f5e77b1b599f26ea912ae6c9e010f3a77.tar.gz
test case for colm include statement
Diffstat (limited to 'test')
-rw-r--r--test/include1.lm5
-rw-r--r--test/include1a.lmi2
2 files changed, 7 insertions, 0 deletions
diff --git a/test/include1.lm b/test/include1.lm
new file mode 100644
index 00000000..efd29ba4
--- /dev/null
+++ b/test/include1.lm
@@ -0,0 +1,5 @@
+##### LM #####
+include 'include1a.lmi'
+print( ' world\n' )
+##### EXP #####
+hello world
diff --git a/test/include1a.lmi b/test/include1a.lmi
new file mode 100644
index 00000000..5de6f696
--- /dev/null
+++ b/test/include1a.lmi
@@ -0,0 +1,2 @@
+
+print( 'hello' )