aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/compile_errors.sh
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-01-24 01:43:01 +0900
committernsfisis <nsfisis@gmail.com>2026-01-24 01:43:01 +0900
commitc780cbb6acd0e0526f2d305138190392bdc8cdd7 (patch)
treedf1edba6eb5778a00e1f4c8a5051414d5bb37e71 /tests/compile_errors.sh
parentd179d944c0633d3aa2420009335791b115f67052 (diff)
downloadducc-c780cbb6acd0e0526f2d305138190392bdc8cdd7.tar.gz
ducc-c780cbb6acd0e0526f2d305138190392bdc8cdd7.tar.zst
ducc-c780cbb6acd0e0526f2d305138190392bdc8cdd7.zip
refactor: organize test files
Diffstat (limited to 'tests/compile_errors.sh')
-rw-r--r--tests/compile_errors.sh32
1 files changed, 0 insertions, 32 deletions
diff --git a/tests/compile_errors.sh b/tests/compile_errors.sh
deleted file mode 100644
index e99282b..0000000
--- a/tests/compile_errors.sh
+++ /dev/null
@@ -1,32 +0,0 @@
-cat <<'EOF' > expected
-main.c:2: undefined function: f
-EOF
-test_compile_error <<'EOF'
-int main() {
- f();
-}
-EOF
-
-# TODO: improve error message
-# cat <<'EOF' > expected
-# main.c:1: expected ';' or '{', but got '}'
-# EOF
-cat <<'EOF' > expected
-main.c:1: expected ';', but got '}'
-EOF
-
-test_compile_error <<'EOF'
-int main() }
-EOF
-
-# TODO: improve error message
-# cat <<'EOF' > expected
-# main.c:1: expected ';' or '{', but got '}'
-# EOF
-cat <<'EOF' > expected
-main.c:1: expected ';', but got '123'
-EOF
-
-test_compile_error <<'EOF'
-int main() 123
-EOF