mirror of
https://github.com/cc65/cc65.git
synced 2025-04-06 20:37:16 +00:00
extern/static conflict test: remove warning as errors to match the new expected cases
This commit is contained in:
parent
3b7be09a7f
commit
5a30d746b4
@ -7,13 +7,12 @@
|
||||
|
||||
/*
|
||||
see: https://github.com/cc65/cc65/issues/191
|
||||
https://github.com/cc65/cc65/issues/2111
|
||||
*/
|
||||
|
||||
#pragma warn(error, on)
|
||||
|
||||
static int n = 0;
|
||||
extern int n; /* should not give an error */
|
||||
static int n; /* should not give an error */
|
||||
extern int n; /* extern is ignored, gives a warning but keeps previous static definiton */
|
||||
static int n; /* no error or warning, the previous static is still in effect */
|
||||
|
||||
int main(void)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user