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