aboutsummaryrefslogtreecommitdiff
path: root/clang/test/CodeGenCXX/enum.cpp
blob: 3985e96ab9fe78573f238e53aba7576aae4fb294 (plain)
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; }