Fixed missing diagnosis on function parameter lists with trailing commas.
This commit is contained in:
3
test/err/bug2301-trailing-coma-1.c
Normal file
3
test/err/bug2301-trailing-coma-1.c
Normal file
@@ -0,0 +1,3 @@
|
||||
/* Bug #2301 - Function parameter list with an extra trailing comma should not compile */
|
||||
|
||||
int foo(int a,); /* Should fail */
|
||||
Reference in New Issue
Block a user