aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/095.sh3
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