blob: 189ff5e905722afe301e657af640b66be2b985eb (
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 (<integer>)'
EOF
test_compile_error <<'EOF'
int main() 123
EOF
|