Fixed an iteration bug in type composition.
This commit is contained in:
5
test/err/bug2285-composite-type.c
Normal file
5
test/err/bug2285-composite-type.c
Normal file
@@ -0,0 +1,5 @@
|
||||
/* Bug #2285 - Regression in type composition */
|
||||
|
||||
void foo(); /* OK */
|
||||
void foo(int (*)(int)); /* OK */
|
||||
void foo(int (*)(long)); /* WRONG: Should be an error */
|
||||
Reference in New Issue
Block a user