]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/gcc.dg/c2x-parm-omit-4.c
testsuite: Refer more consistently to C23 not C2X
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / c2x-parm-omit-4.c
CommitLineData
54bac0ce 1/* Test omitted parameter names in C23: diagnosed with -Wc11-c23-compat. */
a4223abb 2/* { dg-do compile } */
54bac0ce 3/* { dg-options "-std=c23 -pedantic-errors -Wc11-c23-compat" } */
a4223abb
JM
4
5void f (int) { } /* { dg-warning "omitting parameter names" } */