freebsd-dev/test/CodeGenCXX/enum.cpp

5 lines
114 B
C++
Raw Normal View History

2010-01-01 10:34:51 +00:00
// RUN: %clang_cc1 -emit-llvm-only -verify %s
2009-12-15 18:49:47 +00:00
enum A { a } __attribute((packed));
int func(A x) { return x==a; }