Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/debug/pr85252.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | |
children | 1830386684a0 |
line wrap: on
line source
/* 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 chars is too long" } */ static char c[1] = "c"; static char d[1] = "de"; /* { dg-warning "initializer-string for array of chars is too long" } */ }