0238-align.c (188B)
1 struct a { 2 char c; 3 int i; 4 }; 5 6 int 7 main(void) 8 { 9 struct a s[2] = { 10 {.c = 64, .i = 3}, 11 {.c = 64, .i = 6} 12 }; 13 14 if (s[0].i != 3) 15 return 1; 16 if (s[1].i != 6) 17 return 2; 18 19 return 0; 20 }
sccsimple c99 compiler | |
| git clone git://git.simple-cc.org/scc | |
| Log | Files | Refs | Submodules | README | LICENSE |