aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/095.sh
blob: 5d274d0ab73feb9f3b00687460495a711390acf4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
cat <<'EOF' > expected
1 2 3 4
0 0 5
EOF

test_diff <<'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