aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-08-04 08:58:47 +0900
committernsfisis <nsfisis@gmail.com>2025-08-15 10:06:21 +0900
commitdf4cce06a3c84c1441f113b0c2973eec8c2f7d49 (patch)
tree83aa16326c5140799988dd788f1f3846f859f398 /tests
parent44ad877f2e9a688b5befcdffe204d7b550200302 (diff)
downloadducc-df4cce06a3c84c1441f113b0c2973eec8c2f7d49.tar.gz
ducc-df4cce06a3c84c1441f113b0c2973eec8c2f7d49.tar.zst
ducc-df4cce06a3c84c1441f113b0c2973eec8c2f7d49.zip
refactor: refactor preprocessor
Diffstat (limited to 'tests')
-rw-r--r--tests/083.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/083.sh b/tests/083.sh
index 8047f1f..1d95dae 100644
--- a/tests/083.sh
+++ b/tests/083.sh
@@ -9,3 +9,13 @@ bash ../../test_compile_error.sh <<'EOF'
int main() {}
EOF
+
+cat <<'EOF' > expected
+main.c:1: unknown preprocessor directive (bar (<identifier>))
+EOF
+
+bash ../../test_compile_error.sh <<'EOF'
+# bar 1 2 3
+
+int main() {}
+EOF