aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/103.sh
blob: f10d215a315b741a08580aa6fbfa78efcf66c426 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
cat <<'EOF' > expected
main.c:1: foo
EOF
test_compile_error <<'EOF'
#error "foo"
EOF

cat <<'EOF' > expected
EOF
test_diff <<'EOF'
#if 0
#error "foo"
#endif
int main() {}
EOF