aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/087.sh
blob: e662687e056a93fb51f79ff64f9aaf9157edbe91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
set -e

cat <<'EOF' > expected
0
1
2
3
4
5
6
7
8
9
EOF

bash ../../test_diff.sh <<'EOF'
int printf();

int main() {
    for (int i = 0; i < 10; i++) {
        printf("%d\n", i);
    }
}
EOF