☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gcc.dg
/
Wdeprecated-non-prototype-6.c
☽
☼
gcc/testsuite/gcc.dg/Wdeprecated-non-prototype-6.c
code
plain
raw
1
/* { dg-do compile } */
2
/* { dg-options "-std=gnu17 -Wdeprecated-non-prototype" } */
3
4
void (*f1) ();
5
void (*f2) ();
6
void (*f3) (...);
7
8
void
9
g ()
10
{
11
f1 ();
12
f2 (1); /* { dg-warning "does not allow arguments for function" } */
13
f3 (1);
14
}