llvm-project/clang/test/CodeGenCXX/enum.cpp

5 lines
112 B
C++
Raw Normal View History

// RUN: clang-cc -emit-llvm-only -verify %s
enum A { a } __attribute((packed));
int func(A x) { return x==a; }