From 8f352553faec69a6f29854898b93be47604aff28 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Fri, 29 Aug 2025 02:17:00 +0900 Subject: fix: line number count --- tests/103.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'tests/103.sh') diff --git a/tests/103.sh b/tests/103.sh index f10d215..becfa50 100644 --- a/tests/103.sh +++ b/tests/103.sh @@ -13,3 +13,14 @@ test_diff <<'EOF' #endif int main() {} EOF + +cat <<'EOF' > expected +main.c:5: foo +EOF +test_compile_error <<'EOF' +#define \ + A \ + B + +#error "foo" +EOF -- cgit v1.2.3-70-g09d2