1 /* PR debug/85252 */ 2 /* { dg-do compile } */ 3 4 void foo(void)5foo (void) 6 { 7 static char a[0] = ""; 8 static char b[0] = "b"; /* { dg-warning "initializer-string for array of 'char' is too long" } */ 9 static char c[1] = "c"; 10 static char d[1] = "de"; /* { dg-warning "initializer-string for array of 'char' is too long" } */ 11 } 12