set -e cat <<'EOF' > expected expected '{', but got '}' EOF bash ../../test_compile_error.sh <<'EOF' int main() } EOF cat <<'EOF' > expected expected '{', but got '123 ()' EOF bash ../../test_compile_error.sh <<'EOF' int main() 123 EOF