enum.cpp 141 Bytes Raw Blame History Permalink 1 2 3 4 5 // RUN: %clang_cc1 -emit-llvm-only -verify %s // expected-no-diagnostics enum A { a } __attribute((packed)); int func(A x) { return x==a; }