1 /* { dg-do compile } */ 2 /* { dg-options "" } */ 3 4 struct S { int i, j, k; }; 5 6 void foo(void)7 foo (void) 8 { 9 struct S s = { .i = 1, .j = 2, .l = 4}; /* { dg-error "35: .struct S. has no member named .l." } */ 10 } 11