enum.cpp   [plain text]


// RUN: %clang_cc1 -emit-llvm-only -verify %s

enum A { a } __attribute((packed));
int func(A x) { return x==a; }