aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/057.sh
blob: 8850e55607aae400916fac0f0c497d0ef98f4112 (plain)
1
2
3
4
5
6
7
8
9
10
11
cat <<'EOF' > expected
cannot open include file: nonexistent.h
EOF

test_compile_error <<'EOF'
#include "nonexistent.h"

int main() {
    return 0;
}
EOF