summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_method.tnsl (renamed from tests/test_method)0
-rw-r--r--tests/test_module.tnsl7
2 files changed, 7 insertions, 0 deletions
diff --git a/tests/test_method b/tests/test_method.tnsl
index 0f79400..0f79400 100644
--- a/tests/test_method
+++ b/tests/test_method.tnsl
diff --git a/tests/test_module.tnsl b/tests/test_module.tnsl
new file mode 100644
index 0000000..394662b
--- /dev/null
+++ b/tests/test_module.tnsl
@@ -0,0 +1,7 @@
+/; module Mod
+ int i = 69
+;/
+
+/; main [int]
+ return Mod.i
+;/