]>
git.proxmox.com Git - rustc.git/blob - src/llvm/tools/clang/test/CodeGen/ms_struct-bitfield-1.c
1 // RUN: %clang_cc1 -emit-llvm-only -triple x86_64-apple-darwin9 %s
4 #define ATTR __attribute__((__ms_struct__))
7 unsigned int bf_1
: 12;
9 unsigned int bf_2
: 12;
11 static int a1
[(sizeof(t1
) == 8) -1];
19 static int a2
[(sizeof(t2
) == 4) -1];
29 static int a3
[(sizeof(t3
) == 4) -1];
36 static int a4
[(sizeof(t4
) == 8) -1];
44 static int a5
[(sizeof(t5
) == 4) -1];
53 static int a6
[(sizeof(t6
) == 4) -1];
62 static int a7
[(sizeof(t7
) == 16) -1];
71 static int a8
[(sizeof(t8
) == 4) -1];
80 static int a9
[(sizeof(t9
) == 16) -1];
91 static int a10
[(sizeof(t10
) == 2) -1];