summary refs log tree commit diff stats
path: root/tests/global/tglobal2.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/global/tglobal2.nim')
-rw-r--r--tests/global/tglobal2.nim7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/global/tglobal2.nim b/tests/global/tglobal2.nim
new file mode 100644
index 000000000..056ac9f81
--- /dev/null
+++ b/tests/global/tglobal2.nim
@@ -0,0 +1,7 @@
+discard """
+output: "0"
+"""
+
+# b.nim
+import a_module
+echo foo()
\ No newline at end of file