1 /* Test C23 variadic functions with no named parameters. Compilation tests,
2 valid code, verify not considered unprototyped functions. */
3 /* { dg-do compile } */
4 /* { dg-options "-std=c23 -pedantic-errors -Wstrict-prototypes -Wold-style-definition" } */
8 int h (...) { return 0; }
15 A
*f1 (...) { return 0; }
19 A2
*f2 (...) { return 0; }
22 int t () { return f () + f (1) + f (1, 2) + h () + h (1.5, 2, f1
) + g (f
); }