aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/c11-stdarg-3.c
blob: fe31de4e6fc5eef6f804231e3b07bf589a32f8a8 (plain)
1
2
3
4
5
6
7
8
/* Test variadic functions with no named parameters not supported in C11, but
   diagnostic disabled with -Wno-c11-c23-compat.  */
/* { dg-do compile } */
/* { dg-options "-std=c11 -pedantic-errors -Wno-c11-c23-compat" } */

int f (...);
int g (int (...));
int h (...) { return 0; }