gcc/gcc/testsuite/gcc.dg/pr68024.c

6 lines
152 B
C

/* PR c/68024 */
/* { dg-do compile } */
void f (int, ...);
void f (a) int a; {} /* { dg-warning "defined as variadic function without prototype" } */