aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/110.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/110.sh')
-rw-r--r--tests/110.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/110.sh b/tests/110.sh
new file mode 100644
index 0000000..4d48752
--- /dev/null
+++ b/tests/110.sh
@@ -0,0 +1,15 @@
+cat <<'EOF' > expected
+main.c:1: cannot open include file: "hoge.h"
+EOF
+
+test_compile_error <<'EOF'
+#include "hoge.h"
+EOF
+
+cat <<'EOF' > expected
+main.c:1: cannot resolve include file name: <hoge.h>
+EOF
+
+test_compile_error <<'EOF'
+#include <hoge.h>
+EOF