blob: 009292461bd7df02636353fad4f535b9a552eeed [file] [log] [blame]
/* Test variadic functions with no named parameters not supported in C11, but
diagnostic disabled with -Wno-c11-c2x-compat. */
/* { dg-do compile } */
/* { dg-options "-std=c11 -pedantic-errors -Wno-c11-c2x-compat" } */
int f (...);
int g (int (...));
int h (...) { return 0; }