2009-12-16 04:14:24 +08:00
|
|
|
// RUN: %clang_cc1 -triple i386-unknown-unknown -O1 -emit-llvm -o %t %s
|
2009-02-18 06:16:19 +08:00
|
|
|
// RUN: grep 'ret i32 4' %t
|
|
|
|
|
|
|
|
enum e0 { E0 };
|
|
|
|
struct s0 {
|
|
|
|
enum e0 a:31;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct s0 t1_tmp;
|
|
|
|
int f0() {
|
|
|
|
return __alignof__(t1_tmp);
|
|
|
|
}
|