1 /* Test old-style function definitions not in C2x: errors. */
2 /* { dg-do compile } */
3 /* { dg-options "-std=c2x -pedantic-errors" } */
4
5 void
6 f (x) /* { dg-error "old-style function definition" } */
7 int x;
8 {
9 }