diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-05-03 14:56:33 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-05-03 14:56:33 +0900 |
| commit | ccfab25b9cb3341fe150bb7aae16e3f46cc6ea99 (patch) | |
| tree | e31fe090628938bff111e0d905b92a119c1b47e2 /tests | |
| parent | e07db70ea48583cac2ab8517586b6a25316cb8ca (diff) | |
| download | P4Dcc-ccfab25b9cb3341fe150bb7aae16e3f46cc6ea99.tar.gz P4Dcc-ccfab25b9cb3341fe150bb7aae16e3f46cc6ea99.tar.zst P4Dcc-ccfab25b9cb3341fe150bb7aae16e3f46cc6ea99.zip | |
unary minus
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/005.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/005.sh b/tests/005.sh new file mode 100644 index 0000000..1b4611a --- /dev/null +++ b/tests/005.sh @@ -0,0 +1,7 @@ +set -e + +bash ../../test_exit_code.sh 30 <<'EOF' +int main() { + return (-10 + 20 * -3) + 100; +} +EOF |
