aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/051.sh
blob: 74a732704764c39b1a0b293bcbec97c4915ff941 (plain)
1
2
3
4
5
6
7
8
9
10
set -e

cat <<'EOF' > expected
undefined function: f
EOF
bash ../../test_compile_error.sh <<'EOF'
int main() {
    f();
}
EOF