☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gcc.dg
/
noncompile
/
old-style-parm-3.c
☽
☼
gcc/testsuite/gcc.dg/noncompile/old-style-parm-3.c
code
plain
raw
1
/* PR c/71266 */
2
/* { dg-do compile } */
3
/* { dg-additional-options "-Wno-old-style-definition" } */
4
5
int fn1 (a)
6
enum b { /* { dg-warning "empty declaration" } */
7
a /* { dg-error ".a. declared as a non-parameter" } */
8
};
9
{
10
}