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:
4
test/err/bug2286-param-qualifier.c
Normal file
4
test/err/bug2286-param-qualifier.c
Normal 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 */
|
||||
Reference in New Issue
Block a user