Debian Codegraph @

gcc/testsuite/gcc.dg/torture/pr45732.c

raw
1 /* { dg-do compile } */
2
3 typedef char chars[5];
4 const chars bad_chars[] = { "" };
5
6 int foo ()
7 {
8 const chars *c = bad_chars;
9 return c[0][0];
10 }