Debian Codegraph @

gcc/testsuite/gcc.dg/debug/pr85252.c

raw
1 /* PR debug/85252 */
2 /* { dg-do compile } */
3
4 void
5 foo (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 }