block static variables seem to be working
This commit is contained in:
parent
c5e2556d31
commit
d718819ee7
2 changed files with 57 additions and 9 deletions
14
05/main.c
14
05/main.c
|
@ -1,10 +1,24 @@
|
|||
static int g;
|
||||
|
||||
int f(void) {
|
||||
lbl1:break;;goto blah;
|
||||
case -1-3:
|
||||
continue;a:break;return;return 6+3<<sizeof(int);
|
||||
goto lbl1;
|
||||
case 77:;return 92834;
|
||||
return g;
|
||||
static int x = 0x12345;
|
||||
return x;
|
||||
}
|
||||
|
||||
int h(void) {
|
||||
static long x = 0x12345;
|
||||
return x;
|
||||
{
|
||||
static unsigned short x = 0x123f;
|
||||
return x;
|
||||
}{{{{{{{{{{{{{{static unsigned x = 0x1234567; return x;}}}}}}}}return x;}}}}}return x;}
|
||||
return g;
|
||||
}
|
||||
|
||||
/* typedef int AA[sizeof x]; */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue