blob: 9bd4d48d618bd9ac9a3bfdebb4893787afbdd59c [file] [log] [blame]
/* PR debug/85252 */
/* { dg-do compile } */
void
foo (void)
{
static char a[0] = "";
static char b[0] = "b"; /* { dg-warning "initializer-string for array of 'char' is too long" } */
static char c[1] = "c";
static char d[1] = "de"; /* { dg-warning "initializer-string for array of 'char' is too long" } */
}