(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
c11-old-style-definition-2.c
       1  /* Test old-style function definitions not in C2x: () does not give
       2     type with a prototype for older standards.  */
       3  /* { dg-do compile } */
       4  /* { dg-options "-std=c11" } */
       5  
       6  void
       7  f ()
       8  {
       9  }
      10  
      11  void
      12  g (void)
      13  {
      14    f (1);
      15  }