1  /* Test for no ICE with an undeclared identifier in an enum in old-style
       2     parameter decls.  PR 12560.  */
       3  /* { dg-options "-w" } */
       4  
       5  foo(c)
       6       enum { a = b } c;  /* { dg-error "undeclared|for each" } */
       7  {
       8  }