blob: c775366d70133a2480dc4b1a7e89cb379799a8eb [file] [log] [blame]
/* Test old-style function definitions not in C2x: warnings. */
/* { dg-do compile } */
/* { dg-options "-std=c2x" } */
void
f (x) /* { dg-warning "old-style function definition" } */
int x;
{
}