1 2 3 4 5 6 7 8 9
/* PR c/71266 */ /* { dg-do compile } */ int fn1 (a) enum b { /* { dg-warning "empty declaration" } */ a /* { dg-error ".a. declared as a non-parameter" } */ }; { }