aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/031.sh
blob: 7747f84ddfce0bc2535aefab5c51ab6cc73ade45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
set -e

cat <<'EOF' > expected
42
EOF
bash ../../test_diff.sh <<'EOF'
int printf();

int main() {
    int a = 42;
    printf("%d\n", a);
    return 0;
}
EOF