(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
compound-literal-cast-lvalue-1.c
       1  /* { dg-do compile } */
       2  /* { dg-options "-std=c99" } */
       3  /* PR c/84900; casts from compound literals
       4     were not considered a non-lvalue. */
       5  
       6  int main() {
       7          int *p = &(int) (int) {0}; /* { dg-error "lvalue" } */
       8          return 0;
       9  }