a4223abb JM |
1 | /* Test omitted parameter names in C2x: diagnosed with -Wc11-c2x-compat. */ |
2 | /* { dg-do compile } */ |
3 | /* { dg-options "-std=c2x -pedantic-errors -Wc11-c2x-compat" } */ |
4 | |
5 | void f (int) { } /* { dg-warning "omitting parameter names" } */ |