Merge pull request #2289 from acqn/FuncDeclFix

[cc65] Fixed the issue that qualifiers of pointees of function parameters were ignored for type compatibility check
This commit is contained in:
Bob Andrews
2023-12-09 22:14:41 +01:00
committed by GitHub
3 changed files with 16 additions and 8 deletions

View File

@@ -0,0 +1,4 @@
/* Bug #2286 - Qualifiers of pointees of function parameters ignored for type compatibility check */
void woo(int* p);
void woo(const int* p); /* WRONG: Should be an error */