Home | History | Annotate | Download | only in Sema
      1 // RUN: %clang_cc1 -fsyntax-only -verify %s
      2 
      3 // PR7477
      4 enum __attribute__((packed)) E {
      5   Ea, Eb, Ec, Ed
      6 };
      7 
      8 void test_E(enum E e) {
      9   switch (e) {
     10   case Ea:
     11   case Eb:
     12   case Ec:
     13   case Ed:
     14     break;
     15   }
     16 }
     17