diff options
author | pommicket <pommicket@gmail.com> | 2022-02-05 19:22:47 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2022-02-05 19:22:47 -0500 |
commit | 41f122f01e3017df1611fb556b7b236216373e51 (patch) | |
tree | d545cbbffe6c42d70af4b8a79f18b7f418ca65ca /05/main.c | |
parent | ebe96b9e856f907dac7a89cf13c900c94fb8e1e1 (diff) |
braced initializers in local declarations
Diffstat (limited to '05/main.c')
-rw-r--r-- | 05/main.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -15,7 +15,12 @@ int h(void) { int y, r[3], s; char d, e[5], f, g, *p; int z = 3, R=12+459834-g; - return g; + int x[] = {1,2,3,4,5}; + struct { + char a,b; + } P[] = {1,2,3,4,5}; + static int marker = 0x12345678; + return 5; } /* typedef int AA[sizeof x]; */ |