summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/modules/t9627.nim7
-rw-r--r--tests/modules/t9627/a.nim1
-rw-r--r--tests/modules/t9627/b.nim1
3 files changed, 9 insertions, 0 deletions
diff --git a/tests/modules/t9627.nim b/tests/modules/t9627.nim
new file mode 100644
index 000000000..be82edc45
--- /dev/null
+++ b/tests/modules/t9627.nim
@@ -0,0 +1,7 @@
+discard """
+  output: "109"
+"""
+
+include t9627 / [a, b]
+
+echo a, b
\ No newline at end of file
diff --git a/tests/modules/t9627/a.nim b/tests/modules/t9627/a.nim
new file mode 100644
index 000000000..ef0c69db1
--- /dev/null
+++ b/tests/modules/t9627/a.nim
@@ -0,0 +1 @@
+var a = 10
\ No newline at end of file
diff --git a/tests/modules/t9627/b.nim b/tests/modules/t9627/b.nim
new file mode 100644
index 000000000..e9c9abf87
--- /dev/null
+++ b/tests/modules/t9627/b.nim
@@ -0,0 +1 @@
+var b = 9
\ No newline at end of file