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