summaryrefslogtreecommitdiff
path: root/testing.sh
diff options
context:
space:
mode:
authorkdx <kikoodx@paranoici.org>2023-06-18 19:16:56 +0200
committerkdx <kikoodx@paranoici.org>2023-06-18 19:16:56 +0200
commit8a1646b915c7322daea5a1b74cde60e565121cfe (patch)
treec0ea7719bfeb63afd22daee6b5ad9c201adbf966 /testing.sh
parent3c0b034ee902432baed7030cc65cb2443a846600 (diff)
downloadgolem-8a1646b915c7322daea5a1b74cde60e565121cfe.tar.gz
inline array
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 aa3945d..4b3955f 100755
--- a/testing.sh
+++ b/testing.sh
@@ -65,4 +65,5 @@ 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; }"
+test "$1" "main() { dbg [{1, 2, 3} + 2]; dbg [{1, 2, 3}]; }"
rm -f build/tmp.*