opnsense-src/test/CodeGenCXX/enum.cpp

5 lines
114 B
C++
Raw Normal View History

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