diff options
author | Neelesh Chandola <neelesh.chandola@outlook.com> | 2018-12-09 13:56:11 +0530 |
---|---|---|
committer | Neelesh Chandola <neelesh.chandola@outlook.com> | 2018-12-09 13:56:11 +0530 |
commit | f77ddccb6c20acd0b8752dbd8d8040184f6460dc (patch) | |
tree | 74296b216d3b80668ee0bf0b732003f8e5b1e9d8 /tests | |
parent | 9aa783624d133efd15e6720b5b59872258ee39fe (diff) | |
download | Nim-f77ddccb6c20acd0b8752dbd8d8040184f6460dc.tar.gz |
add tests
Diffstat (limited to 'tests')
-rw-r--r-- | tests/modules/t9627.nim | 7 | ||||
-rw-r--r-- | tests/modules/t9627/a.nim | 1 | ||||
-rw-r--r-- | tests/modules/t9627/b.nim | 1 |
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 |