☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gcc.dg
/
pr121506.c
☽
☼
gcc/testsuite/gcc.dg/pr121506.c
code
plain
raw
1
/* PR c/121506 */
2
/* { dg-do compile } */
3
4
#include <stdarg.h>
5
6
struct A;
7
void foo (struct A *); /* { dg-message "previous declaration of 'foo' with type 'void\\\(struct A \\\*\\\)'" } */
8
void foo (va_list); /* { dg-error "conflicting types for 'foo'; have" } */