summary refs log tree commit diff stats
path: root/tests/accept/run/tarray.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/accept/run/tarray.nim')
-rwxr-xr-xtests/accept/run/tarray.nim6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/accept/run/tarray.nim b/tests/accept/run/tarray.nim
index 252cbd991..16ef558d1 100755
--- a/tests/accept/run/tarray.nim
+++ b/tests/accept/run/tarray.nim
@@ -1,3 +1,7 @@
+discard """
+  file: "tarray.nim"
+  output: "10012"
+"""
 # simple check for one dimensional arrays

 

 type

@@ -25,3 +29,5 @@ write(stdout, sum([1, 2, 3, 4]))
 write(stdout, sum([]))

 write(stdout, getPos( (x: 5, y: 7) ))

 #OUT 10012

+
+