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