1 #include <stdio.h> 2 3 static int func()4func() { 5 return 123; 6 } 7 8 int main()9main() { 10 /* Check basic variable initializers */ 11 struct bogus { 12 int x:8; 13 char buf[3]; 14 } b = { 15 func(), 1, 2, 3 16 }; 17 printf("%d\n", (int)sizeof(struct bogus)); 18 printf("%d %d %d %d\n", b.x, b.buf[0], b.buf[1], b.buf[2]); 19 20 return 0; 21 } 22 23