diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-08-19 00:26:29 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-08-19 00:26:29 +0900 |
| commit | 2aacd7a4b67bd6f9c11e005c72c4e52e6b644212 (patch) | |
| tree | 7396430bf8f204e1bd2dadca429408359ef14a09 /tests | |
| parent | 79796388b3c040bda25ce330af72ca514b30f60c (diff) | |
| download | ducc-2aacd7a4b67bd6f9c11e005c72c4e52e6b644212.tar.gz ducc-2aacd7a4b67bd6f9c11e005c72c4e52e6b644212.tar.zst ducc-2aacd7a4b67bd6f9c11e005c72c4e52e6b644212.zip | |
feat: support global variable declaration with multiple variables
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/095.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/095.sh b/tests/095.sh index 58ee35f..65cd31a 100644 --- a/tests/095.sh +++ b/tests/095.sh @@ -2,14 +2,17 @@ set -e cat <<'EOF' > expected 1 2 3 4 +0 0 5 EOF bash ../../test_diff.sh <<'EOF' int printf(); +int x, y, z = 5; int main() { int a, b; a = 1, b = 2; int c = 3, d = 4; printf("%d %d %d %d\n", a, b, c, d); + printf("%d %d %d\n", x, y, z); } EOF |
