aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/057.sh
blob: 6d1265f10396fb1cf8730c60986a1ac8abb7ecc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
set -e

cat <<'EOF' > expected
cannot open include file: nonexistent.h
EOF

bash ../../test_compile_error.sh <<'EOF'
#include "nonexistent.h"

int main() {
    return 0;
}
EOF