blob: f20f00433fe6f637ca14694f3208a31f8a5cb2a1 [file] [log] [blame]
/* PR c/18809 */
/* Origin: Andrew Pinski <pinskia@gcc.gnu.org> */
/* { dg-do compile } */
void foo(enum E e) {} /* { dg-error "" } */
void bar() { foo(0); } /* { dg-error "formal" } */