diff options
author | kdx <kikoodx@paranoici.org> | 2023-06-10 15:09:52 +0200 |
---|---|---|
committer | kdx <kikoodx@paranoici.org> | 2023-06-10 15:09:52 +0200 |
commit | e999ab159ff54d45f91c8c7c10ee2367a504c233 (patch) | |
tree | fae2607121e523059a6464add123dc855eedd545 /testing.sh | |
parent | 11a2e237efbadd3877f94e4352bc894ef9e77a2b (diff) | |
download | golem-e999ab159ff54d45f91c8c7c10ee2367a504c233.tar.gz |
global array
Diffstat (limited to 'testing.sh')
-rwxr-xr-x | testing.sh | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -27,4 +27,5 @@ test "$1" "main() { wrt(add('A' - 'a', 'u')); wrt('\n'); } add(a, b) { return a test "$1" "main() return 0;" test "$1" "main() { { wrt('c'); } { wrt('b'); { wrt('A'); } wrt('B'); } wrt('\n'); }" test "$1" "main() { local i; i = '0'; loop { wrt i; i = i + 1; if (i > '9') break; } wrt '\n'; }" +test "$1" "global a[5]; main() {}" rm -f build/tmp.* |