summary refs log tree commit diff stats
path: root/tests/misc/tloops.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/misc/tloops.nim')
-rw-r--r--tests/misc/tloops.nim8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/misc/tloops.nim b/tests/misc/tloops.nim
index b160500af..61e0baf10 100644
--- a/tests/misc/tloops.nim
+++ b/tests/misc/tloops.nim
@@ -1,3 +1,10 @@
+discard """
+output: '''
+Hello!(x: 1, y: 2, z: 3)
+(x: 1.0, y: 2.0)
+'''
+"""
+
 # Test nested loops and some other things
 
 proc andTest() =
@@ -84,4 +91,3 @@ proc main[T]() =
   echo myType2
 
 main[int]()
-