/* Test for ICE on VLA compound literal. */ /* Origin: Joseph Myers */ /* { dg-do compile } */ /* { dg-options "" } */ const int i = 1; void foo() { char *p = (char [i]){ "" }; } /* { dg-error "compound literal has variable size" } */