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