@@ -6,40 +6,48 @@ use std::collections::BTreeMap;
66use std:: io:: { Read , Seek , Write } ;
77use std:: os:: fd:: { AsFd , FromRawFd , IntoRawFd } ;
88use std:: rc:: Rc ;
9+ #[ repr( C ) ]
910#[ derive( Copy , Clone , Default ) ]
1011pub struct Outer_Named {
1112 pub a : i32 ,
1213 pub b : i32 ,
1314}
15+ #[ repr( C ) ]
1416#[ derive( Copy , Clone , Default ) ]
1517pub struct Outer_anon_0 {
1618 pub c : i32 ,
1719 pub d : i32 ,
1820}
21+ #[ repr( C ) ]
1922#[ derive( Copy , Clone , Default ) ]
2023pub struct Outer_anon_1 {
2124 pub g : i32 ,
2225 pub h : i32 ,
2326}
27+ #[ repr( C ) ]
2428#[ derive( Copy , Clone , Default ) ]
2529pub struct Outer_anon_2 {
2630 pub e : i32 ,
2731 pub f : i32 ,
2832}
33+ #[ repr( C ) ]
2934#[ derive( Copy , Clone , Default ) ]
3035pub struct Outer_anon_3_anon_0 {
3136 pub j : i32 ,
3237}
38+ #[ repr( C ) ]
3339#[ derive( Copy , Clone , Default ) ]
3440pub struct Outer_anon_3_anon_1 {
3541 pub k : i32 ,
3642}
43+ #[ repr( C ) ]
3744#[ derive( Copy , Clone , Default ) ]
3845pub struct Outer_anon_3 {
3946 pub i : i32 ,
4047 pub inner_named : Outer_anon_3_anon_0 ,
4148 pub anon_1 : Outer_anon_3_anon_1 ,
4249}
50+ #[ repr( C ) ]
4351#[ derive( Copy , Clone , Default ) ]
4452pub struct Outer {
4553 pub named : Outer_Named ,
@@ -87,6 +95,7 @@ unsafe fn main_0() -> i32 {
8795 assert ! ( ( ( o. anon_3. i) == ( 9 ) ) ) ;
8896 assert ! ( ( ( o. anon_3. inner_named. j) == ( 10 ) ) ) ;
8997 assert ! ( ( ( o. anon_3. anon_1. k) == ( 11 ) ) ) ;
98+ #[ repr( C ) ]
9099 #[ derive( Copy , Clone , Default ) ]
91100 pub struct anon_0 {
92101 pub x : i32 ,
0 commit comments