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