Sign in
gnu
/
gcc
/
4aef14b09557ce072f1269bd8a05fa2b1df0eda2
/
.
/
gcc
/
testsuite
/
gcc.dg
/
c2x-old-style-definition-2.c
blob: 7bd5a60f6ddd5993ec3a9d51f1b1304df20b31d9 [
file
] [
log
] [
blame
]
/* 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
;
{
}