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