(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
Wmissing-field-initializers-2.c
       1  /* PR c/84685 */
       2  /* { dg-do compile } */
       3  /* { dg-options "-Wmissing-field-initializers" } */
       4  
       5  struct T {
       6    int a;
       7    int *b;
       8    int c;
       9  }; 
      10  
      11  struct T t = { .b = (int[]){1} }; /* { dg-bogus "missing initializer" } */