blob: a7b92d091e93ac8c89999504f44a7bb80eb6f0d5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
cat <<'EOF' > expected
main.c:1: expected '{', but got '}'
EOF
test_compile_error <<'EOF'
int main() }
EOF
cat <<'EOF' > expected
main.c:1: expected '{', but got '123'
EOF
test_compile_error <<'EOF'
int main() 123
EOF
|