1 struct s { 2 int a; 3 int b; 4 int c; 5 }; 6 7 test_struct(void)8int test_struct(void) 9 { 10 struct s s = { .a = 1, .c = 3, }; 11 12 return s.b; 13 } 14 15 /* 16 * check-name: default-init-struct 17 * check-command: test-linearize -Wno-decl -fdump-ir $file 18 * 19 * check-output-ignore 20 * check-output-contains: phisrc\\..*return.*\\$0 21 * check-output-excludes: load\\. 22 */ 23