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

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

void foo_bar(int hoge_piyo) {
    printf("%d\n", hoge_piyo);
}

int main() {
    foo_bar(123);
    return 0;
}
EOF