summary refs log tree commit diff stats
path: root/tests/accept/run/tinit.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/accept/run/tinit.nim')
-rwxr-xr-xtests/accept/run/tinit.nim6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/accept/run/tinit.nim b/tests/accept/run/tinit.nim
index 386bfec37..5c75567ec 100755
--- a/tests/accept/run/tinit.nim
+++ b/tests/accept/run/tinit.nim
@@ -1,6 +1,12 @@
+discard """
+  file: "tinit.nim"
+  output: "Hello from module! Hello from main module!"
+"""
 # Test the new init section in modules

 

 import minit

 

 write(stdout, "Hello from main module!\n")

 #OUT Hello from module! Hello from main module!

+
+