(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
declspec-16.c
       1  /* Test diagnostic for empty declarations in old-style parameter
       2     declarations.  Test with -pedantic.  */
       3  /* Origin: Joseph Myers <joseph@codesourcery.com> */
       4  /* { dg-do compile } */
       5  /* { dg-options "-std=gnu89 -pedantic" } */
       6  
       7  void
       8  f (a, b)
       9       int; /* { dg-warning "empty declaration" } */
      10       register; /* { dg-warning "empty declaration" } */
      11  {
      12  }