Sign in
gnu
/
gcc
/
refs/heads/master
/
.
/
gcc
/
testsuite
/
gcc.dg
/
c23-parm-omit-4.c
blob: 8063bdd5cb047a08409f63472101ef74ac3c2806 [
file
] [
log
] [
blame
]
/* Test omitted parameter names in C23: diagnosed with -Wc11-c23-compat. */
/* { dg-do compile } */
/* { dg-options "-std=c23 -pedantic-errors -Wc11-c23-compat" } */
void
f
(
int
)
{
}
/* { dg-warning "omitting parameter names" } */