Debian Codegraph @

gcc/testsuite/gcc.dg/redecl-20.c

raw
1 /* We used to ICE in the gimplifier, PR 107307 */
2 // { dg-do compile }
3 // { dg-options "-w" }
4 void f ()
5 {
6 const struct { int a[1]; } b; // { dg-note "" }
7 int *c = b.a;
8 int *b; // { dg-error "" }
9 }