| 1 |
/* Test variadic functions with no named parameters not supported in C11, but |
| 2 |
diagnostic disabled with -Wno-c11-c23-compat. */ |
| 3 |
/* { dg-do compile } */ |
| 4 |
/* { dg-options "-std=c11 -pedantic-errors -Wno-c11-c23-compat" } */ |
| 5 |
|
| 6 |
int f (...); |
| 7 |
int g (int (...)); |
| 8 |
int h (...) { return 0; } |