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