Add include needed for MSVC.
[clang/acc.git] / test / CodeGen / alignof.c
blobd39f4e418eb1283a3906d2c01e0f82b1840e996d
1 // RUN: clang-cc -triple i386-unknown-unknown -O1 -emit-llvm -o %t %s &&
2 // RUN: grep 'ret i32 4' %t
4 enum e0 { E0 };
5 struct s0 {
6 enum e0 a:31;
7 };
9 struct s0 t1_tmp;
10 int f0() {
11 return __alignof__(t1_tmp);