Debian Codegraph @

gcc/testsuite/gcc.dg/pr119612.c

raw
1 /* PR c/119612
2 * { dg-do compile }
3 * { dg-options "-std=gnu23" }
4 * */
5
6 int n = 3;
7 void a(struct { char (*p)[n]; } *); /* { dg-warning "anonymous struct" } */
8 void b(struct { char (*p)[n]; } *); /* { dg-warning "anonymous struct" } */
9