From df4cce06a3c84c1441f113b0c2973eec8c2f7d49 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Mon, 4 Aug 2025 08:58:47 +0900 Subject: refactor: refactor preprocessor --- tests/083.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'tests') 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 ()) +EOF + +bash ../../test_compile_error.sh <<'EOF' +# bar 1 2 3 + +int main() {} +EOF -- cgit v1.2.3-70-g09d2