From f77ddccb6c20acd0b8752dbd8d8040184f6460dc Mon Sep 17 00:00:00 2001 From: Neelesh Chandola Date: Sun, 9 Dec 2018 13:56:11 +0530 Subject: [PATCH] add tests --- tests/modules/t9627.nim | 7 +++++++ tests/modules/t9627/a.nim | 1 + tests/modules/t9627/b.nim | 1 + 3 files changed, 9 insertions(+) create mode 100644 tests/modules/t9627.nim create mode 100644 tests/modules/t9627/a.nim create mode 100644 tests/modules/t9627/b.nim 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