diff --git a/tests/modules/t9627.nim b/tests/modules/t9627.nim new file mode 100644 index 0000000000..be82edc45b --- /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 0000000000..ef0c69db1c --- /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 0000000000..e9c9abf876 --- /dev/null +++ b/tests/modules/t9627/b.nim @@ -0,0 +1 @@ +var b = 9 \ No newline at end of file