PR c++/82069 - ICE with lambda in template
[official-gcc.git] / gcc / testsuite / gcc.dg / pr64709.c
blob337e3db3e177875709a0e80d454122f14a9acc8f
1 /* PR c/64709 */
2 /* { dg-do compile } */
3 /* { dg-options "-Wmissing-field-initializers" } */
5 struct S { int a, b; };
6 void
7 foo (void)
9 struct S s[] = { { 1, 2 }, { 0 } }; /* { dg-bogus "missing initializer for field" } */