diff options
author | kdx <kikoodx@paranoici.org> | 2023-06-12 10:32:21 +0200 |
---|---|---|
committer | kdx <kikoodx@paranoici.org> | 2023-06-12 10:32:21 +0200 |
commit | 07fe6662c369f85c4fa8c0d4a002bd42258851f0 (patch) | |
tree | 7338e962d31ef38f0e5eed1fafa05ff0b0cde982 /testing.sh | |
parent | 3e52e6d5d508e855c67edf33757299ca8d46c9e4 (diff) | |
download | golem-07fe6662c369f85c4fa8c0d4a002bd42258851f0.tar.gz |
ref generation
Diffstat (limited to 'testing.sh')
-rwxr-xr-x | testing.sh | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -48,4 +48,6 @@ test "$1" "main() { wrt('0' + (9 <= 7)); wrt '\n'; }" test "$1" "main() { wrt('0' + (5 >= 7)); wrt '\n'; }" test "$1" "main() { wrt('0' + (7 >= 7)); wrt '\n'; }" 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; }" rm -f build/tmp.* |