(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
pr68090.c
       1  /* PR c/68090 */
       2  /* { dg-do compile } */
       3  /* { dg-options "" } */
       4  
       5  void
       6  fn (int i)
       7  {
       8    (int[(0, 1)]) { 0 }; /* { dg-error "compound literal has variable size" } */
       9    (int[i]) { 0 }; /* { dg-error "compound literal has variable size" } */
      10    (int[(0, i)]) { 0 }; /* { dg-error "compound literal has variable size" } */
      11    (int [][i]){ 0 }; /* { dg-error "compound literal has variable size" } */
      12    (int [][(1, 2)]){ 0 }; /* { dg-error "compound literal has variable size" } */
      13  }