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