aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/057.sh
blob: 291030c4c4174014f1e365727fa6a07bf0c1d20d (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