diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-05-03 17:17:44 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-05-03 17:17:44 +0900 |
| commit | 374076ce1e9edce0469847c1615be21d100275cd (patch) | |
| tree | 8c84f606aaee324c6df181c051cb1c38613bd720 /tests | |
| parent | 0b4298dd860e7e57a2964828fd8473e7b9cb80a7 (diff) | |
| download | P4Dcc-374076ce1e9edce0469847c1615be21d100275cd.tar.gz P4Dcc-374076ce1e9edce0469847c1615be21d100275cd.tar.zst P4Dcc-374076ce1e9edce0469847c1615be21d100275cd.zip | |
increase maximum number of local variables
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/009.sh | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/tests/009.sh b/tests/009.sh new file mode 100644 index 0000000..5ebcd0a --- /dev/null +++ b/tests/009.sh @@ -0,0 +1,37 @@ +set -e + +bash ../../test_exit_code.sh 45 <<'EOF' +int main() { + int a1; + int a2; + int a3; + int a4; + int a5; + int a6; + int a7; + int a8; + int a9; + + a1 = 1; + a2 = 2; + a3 = 3; + a4 = 4; + a5 = 5; + a6 = 6; + a7 = 7; + a8 = 8; + a9 = 9; + + return + a1 + + a2 + + a3 + + a4 + + a5 + + a6 + + a7 + + a8 + + a9 + + 0; +} +EOF |
