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