1 static void foo(enum bar baz);
   2 
   3 /*
   4  * check-name: enum not in scope
   5  * check-known-to-fail
   6  *
   7  * check-error-start
   8 badtype1.c:1:22: warning: bad scope for 'enum bar'
   9  * check-error-end
  10  */