1  // PR c++/90590
       2  // { dg-options -Wswitch }
       3  
       4  #include "pr90590-2.h"
       5  
       6  void
       7  fn ()
       8  {
       9    switch (c.b) // { dg-bogus "enumeration value" }
      10      ;
      11  }
       1  // PR c++/90590
       2  // { dg-options -Wswitch }
       3  
       4  #include "pr90590-2.h"
       5  
       6  void
       7  fn ()
       8  {
       9    switch (c.b) // { dg-bogus "enumeration value" }
      10      ;
      11  }