summaryrefslogtreecommitdiff
path: root/testing.sh
diff options
context:
space:
mode:
authorkdx <kikoodx@paranoici.org>2023-06-12 18:43:11 +0200
committerkdx <kikoodx@paranoici.org>2023-06-12 18:43:11 +0200
commit77c272bf67beb30997021947ff8d7fc5cef7b637 (patch)
tree7a49bd0801cecfce164a3d056d1ea930493c6f47 /testing.sh
parentc26a76a39a93656b547886acbc96147fe779cffc (diff)
downloadgolem-77c272bf67beb30997021947ff8d7fc5cef7b637.tar.gz
return w/o argument
Diffstat (limited to 'testing.sh')
-rwxr-xr-xtesting.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/testing.sh b/testing.sh
index 142103b..6db3877 100755
--- a/testing.sh
+++ b/testing.sh
@@ -51,4 +51,5 @@ test "$1" "main() { wrt('0' + (9 >= 7)); wrt '\n'; }"
test "$1" "main() { local a; dbg a; inc(&a); dbg a; } inc(p) { [p] = [p] + 1; }"
test "$1" "global a; main() { dbg a; inc(&a); dbg a; } inc(p) { [p] = [p] + 1; }"
test "$1" "main() 0; //ayayayayayayaya comment"
+test "$1" "main() return;"
rm -f build/tmp.*