Fixed function declarator parser when a parameter has a function type.

Ensured check on parameter lists without types in non-definition declarations.
This commit is contained in:
acqn
2023-12-14 02:34:03 +08:00
parent 05aae60816
commit 1e4d1b4311
4 changed files with 100 additions and 33 deletions

1
test/err/bug2303.c Normal file
View File

@@ -0,0 +1 @@
int f(a); /* Should be an error */