File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -15,19 +15,19 @@ struct s1 {
1515// OGCG-DAG: %struct.s1 = type { i32, i64 }
1616
1717struct s2 {
18- int a : 24 ;
18+ int a : 24 ;
1919 char b ;
20- int c : 30 ;
20+ int c : 30 ;
2121} Clip ;
2222
2323// CIR-DAG: !rec_s2 = !cir.record<struct "s2" {!s32i, !s8i, !s32i}>
2424// LLVM-DAG: %struct.s2 = type { i32, i8, i32 }
2525// OGCG-DAG: %struct.s2 = type { i32, i8, i32 }
2626
2727struct s3 {
28- int a : 18 ;
29- int : 0 ;
30- int c : 14 ;
28+ int a : 18 ;
29+ int : 0 ;
30+ int c : 14 ;
3131} zero_bit ;
3232
3333// CIR-DAG: !rec_s3 = !cir.record<struct "s3" {!s32i, !s32i}>
@@ -37,10 +37,10 @@ struct s3 {
3737#pragma pack (push,1)
3838
3939struct Inner {
40- unsigned int A : 1 ;
41- unsigned int B : 1 ;
42- unsigned int C : 1 ;
43- unsigned int D : 30 ;
40+ unsigned int A : 1 ;
41+ unsigned int B : 1 ;
42+ unsigned int C : 1 ;
43+ unsigned int D : 30 ;
4444} Inner ;
4545
4646#pragma pack (pop)
You can’t perform that action at this time.
0 commit comments