aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/110.sh
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-08-31 00:11:36 +0900
committernsfisis <nsfisis@gmail.com>2025-08-31 00:16:04 +0900
commita5ee9d944edf665c814bbfeded2849f2bb980ed8 (patch)
tree81c111c54d47e11a90e928edaeef6e1a1eba1e57 /tests/110.sh
parent76b0c6bb6bbc339789943ada1f79ec1eba52239f (diff)
downloadducc-a5ee9d944edf665c814bbfeded2849f2bb980ed8.tar.gz
ducc-a5ee9d944edf665c814bbfeded2849f2bb980ed8.tar.zst
ducc-a5ee9d944edf665c814bbfeded2849f2bb980ed8.zip
fix: error message when included file is not found
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