blob: 64d0c08356870803f2e018df5313afe8faf5a34c [file] [log] [blame]
Daniel Dunbara5728872009-12-15 20:14:24 +00001// RUN: %clang_cc1 -triple i386-unknown-unknown -O1 -emit-llvm -o %t %s
Daniel Dunbarb7d08442009-02-17 22:16:19 +00002// RUN: grep 'ret i32 4' %t
3
4enum e0 { E0 };
5struct s0 {
6 enum e0 a:31;
7};
8
9struct s0 t1_tmp;
10int f0() {
11 return __alignof__(t1_tmp);
12}