1 2 3 4 5 6 7 8
cat <<'EOF' > expected undefined function: f EOF test_compile_error <<'EOF' int main() { f(); } EOF