xref: /llvm-project/clang/test/CodeGenCXX/enum.cpp (revision c6e68daac0fa6e77a89f3ca72f266a528503dd1c)
1 // RUN: %clang_cc1 -emit-llvm-only -verify %s
2 // expected-no-diagnostics
3 
4 enum A { a } __attribute((packed));
func(A x)5 int func(A x) { return x==a; }
6