Debian Codegraph @

gcc/testsuite/gcc.dg/asan/pr81460.c

raw
1 /* PR sanitizer/80460 */
2 /* { dg-do compile } */
3
4 int
5 f (int a, struct { int b[a]; } c) /* { dg-warning "anonymous struct declared inside parameter list will not be visible outside of this definition or declaration" } */
6 {
7 return c.b[0];
8 }