blob: a81f0c690409f0a96b718524e6f8508ffc17526d [file] [log] [blame]
/* Test diagnostic for empty declarations in old-style parameter
declarations. Test with -pedantic. */
/* Origin: Joseph Myers <joseph@codesourcery.com> */
/* { dg-do compile } */
/* { dg-options "-std=gnu89 -pedantic" } */
void
f (a, b)
int; /* { dg-warning "warning: empty declaration" } */
register; /* { dg-warning "warning: empty declaration" } */
{
}