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