From 2aacd7a4b67bd6f9c11e005c72c4e52e6b644212 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Tue, 19 Aug 2025 00:26:29 +0900 Subject: feat: support global variable declaration with multiple variables --- tests/095.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests') 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 -- cgit v1.2.3-70-g09d2