Renamed several tests.

This commit is contained in:
acqn
2022-11-05 18:30:02 +08:00
parent fef8436eb4
commit e608f8a94f
3 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
/*
!!DESCRIPTION!! global non-static and static conflicts
!!ORIGIN!! cc65 regression tests
!!LICENCE!! Public Domain
!!AUTHOR!! Greg King
*/
/*
see: https://github.com/cc65/cc65/issues/191
*/
#pragma warn(error, on)
static int n = 0;
extern int n; /* should not give an error */
static int n; /* should not give an error */
int main(void)
{
return n;
}