From 79796388b3c040bda25ce330af72ca514b30f60c Mon Sep 17 00:00:00 2001 From: nsfisis Date: Mon, 18 Aug 2025 04:13:56 +0900 Subject: feat: support variable declaration with multiple variables (local variables only) --- tests/095.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 tests/095.sh (limited to 'tests/095.sh') diff --git a/tests/095.sh b/tests/095.sh new file mode 100644 index 0000000..58ee35f --- /dev/null +++ b/tests/095.sh @@ -0,0 +1,15 @@ +set -e + +cat <<'EOF' > expected +1 2 3 4 +EOF + +bash ../../test_diff.sh <<'EOF' +int printf(); +int main() { + int a, b; + a = 1, b = 2; + int c = 3, d = 4; + printf("%d %d %d %d\n", a, b, c, d); +} +EOF -- cgit v1.2.3-70-g09d2