1 // RUN: %clang_cc1 -emit-llvm-only -triple i386-apple-darwin9 %s
3 #define ATTR __attribute__((__ms_struct__))
10 unsigned short member_3
: 1 ;
11 unsigned char member_4
: 7 ;
18 typedef struct _struct_0 struct_0
;
20 #define size_struct_0 20
22 struct_0 test_struct_0
= { 18557917, 17, 3, 0, 80, 6487, 93 };
23 static int a
[(size_struct_0
== sizeof (struct_0
)) -1];
32 typedef struct _struct_1 struct_1
;
34 #define size_struct_1 12
36 struct_1 test_struct_1
= { 18557917, 'a', 3, 'b' };
38 static int a1
[(size_struct_1
== sizeof (struct_1
)) -1];
44 } __attribute__ ((ms_struct
));
46 #define size_struct_2 16
48 static int a2
[(size_struct_2
== sizeof (struct ten
)) -1];