From 76b0c6bb6bbc339789943ada1f79ec1eba52239f Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 31 Aug 2025 00:04:38 +0900 Subject: fix: #else/#endif with trailing whitespace or comment --- tests/109.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 tests/109.sh (limited to 'tests') diff --git a/tests/109.sh b/tests/109.sh new file mode 100644 index 0000000..40b2c82 --- /dev/null +++ b/tests/109.sh @@ -0,0 +1,10 @@ +cat <<'EOF' > expected +EOF + +test_diff <<'EOF' +#if 1 // a +#else // b +#endif // c + +int main() {} +EOF -- cgit v1.2.3-70-g09d2