diff options
author | pommicket <pommicket@gmail.com> | 2022-02-05 18:07:42 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2022-02-05 18:07:42 -0500 |
commit | d718819ee757fcc59480ea3eff8bbac5a129a3a5 (patch) | |
tree | 0a626a09aec3a9def7585beed3e304c6ea90c826 /05/main.c | |
parent | c5e2556d318a802031cbf6947bed011b270b345c (diff) |
block static variables seem to be working
Diffstat (limited to '05/main.c')
-rw-r--r-- | 05/main.c | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -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]; */ |