[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / clang / test / Sema / enum-packed.c
blobb6ba972ed686366d739d5465fd3a9b03f0756db6
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
2 // expected-no-diagnostics
4 // PR7477
5 enum __attribute__((packed)) E {
6 Ea, Eb, Ec, Ed
7 };
9 void test_E(enum E e) {
10 switch (e) {
11 case Ea:
12 case Eb:
13 case Ec:
14 case Ed:
15 break;