summary refs log tree commit diff stats
path: root/tests/accept/run/tack.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/accept/run/tack.nim')
-rwxr-xr-xtests/accept/run/tack.nim6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/accept/run/tack.nim b/tests/accept/run/tack.nim
index 59535e547..680ff567e 100755
--- a/tests/accept/run/tack.nim
+++ b/tests/accept/run/tack.nim
@@ -1,3 +1,7 @@
+discard """
+  file: "tack.nim"
+  output: "125"
+"""
 # the Ackermann function

 

 proc ack(x, y: int): int =

@@ -13,3 +17,5 @@ proc ack(x, y: int): int =
 

 # echo(ack(0, 0))

 write(stdout, ack(3, 4)) #OUT 125

+
+