summaryrefslogtreecommitdiff
path: root/testing.sh
diff options
context:
space:
mode:
authorkdx <kikoodx@paranoici.org>2023-06-18 11:32:25 +0200
committerkdx <kikoodx@paranoici.org>2023-06-18 11:32:25 +0200
commit874245962e04264ab3c8a993a109f1790ddb36e2 (patch)
tree38c9400384dc15e4f56825e642ddb1bae51947d1 /testing.sh
parent1e3a3ba3c6b71c6d62c15920f2f57f36b07cc0c7 (diff)
downloadgolem-874245962e04264ab3c8a993a109f1790ddb36e2.tar.gz
add modulo operation
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 c8f4ad3..aa3945d 100755
--- a/testing.sh
+++ b/testing.sh
@@ -64,4 +64,5 @@ test "$1" "main() {;;;;;;;;;;;;;;;;;}"
test "$1" "global a = 8, b, c = 4; main() { dbg a; dbg c; }"
test "$1" "global a, b = 6, c = 4; main() { dbg b; dbg c; }"
test "$1" "main() { local a = 5, b = 7, c; dbg a; dbg b; }"
+test "$1" "main() { dbg 5 % 3; }"
rm -f build/tmp.*