From 48d5ca9bcf08a0995008759bf5bb9fec5a1631bc Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 17 Aug 2025 07:20:51 +0900 Subject: feat: defer keyword check after preprocessing --- tests/094.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 tests/094.sh (limited to 'tests') diff --git a/tests/094.sh b/tests/094.sh new file mode 100644 index 0000000..2f7da73 --- /dev/null +++ b/tests/094.sh @@ -0,0 +1,10 @@ +set -e + +touch expected +bash ../../test_diff.sh <<'EOF' +// A keyword is treated as a normal identifier in preprocessing phase. +#define auto int + +auto printf(); +auto main() {} +EOF -- cgit v1.2.3-70-g09d2