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 | |
5 | void f (int) { } /* { dg-warning "omitting parameter names" } */ |