aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/037.sh
blob: bc6867b00280399250953eab8e6af8f6e8928931 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
set -e

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

void f() {
    printf("hi\n");
    return;
}

int main() {
    f();
    return 0;
}
EOF