0166-desig.c (166B)
1 struct S { 2 int a, b, c; 3 char d[3]; 4 int e; 5 } s = { 6 .a = 1, 7 .b = 2, 8 .d = {[0] = 3, [2] = 5}, 9 .d = {[0] = 4, [1] = 6} 10 }; 11 12 int 13 main(void) 14 { 15 return 0 == s.d[2]; 16 }
sccsimple c99 compiler | |
git clone git://git.simple-cc.org/scc | |
Log | Files | Refs | Submodules | README | LICENSE |