Merge pull request #2288 from acqn/TypeFix

[cc65] Fixed an iteration bug in type composition
This commit is contained in:
Bob Andrews
2023-12-09 22:15:24 +01:00
committed by GitHub
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 */