summaryrefslogtreecommitdiff
path: root/clang/test/CodeGenCXX/enum.cpp
blob: cfcd264bd347a6b01b37edb83af6d3e75d939f48 (about) (plain)
1
2
3
4
// RUN: %clang_cc1 -emit-llvm-only -verify %s

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