Debian Codegraph @

gcc/testsuite/gcc.dg/c23-old-style-definition-1.c

raw
1 /* Test old-style function definitions not in C23: warnings. */
2 /* { dg-do compile } */
3 /* { dg-options "-std=c23" } */
4
5 void
6 f (x) /* { dg-warning "old-style function definition" } */
7 int x;
8 {
9 }