Fixed an iteration bug in type composition.

This commit is contained in:
acqn
2023-12-09 14:35:00 +08:00
parent 519a52d92c
commit 98ffc031d1
3 changed files with 7 additions and 8 deletions

View 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 */