File tree Expand file tree Collapse file tree 3 files changed +15
-3
lines changed Expand file tree Collapse file tree 3 files changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -866,6 +866,16 @@ rust_dbg_extern_identity_TwoU64s(TwoU64s u) {
866
866
return u;
867
867
}
868
868
869
+ struct TwoDoubles {
870
+ double one;
871
+ double two;
872
+ };
873
+
874
+ extern " C" CDECL TwoDoubles
875
+ rust_dbg_extern_identity_TwoDoubles (TwoDoubles u) {
876
+ return u;
877
+ }
878
+
869
879
extern " C" CDECL double
870
880
rust_dbg_extern_identity_double (double u) {
871
881
return u;
Original file line number Diff line number Diff line change @@ -199,6 +199,7 @@ rust_opendir
199
199
rust_dbg_extern_identity_u32
200
200
rust_dbg_extern_identity_u64
201
201
rust_dbg_extern_identity_TwoU64s
202
+ rust_dbg_extern_identity_TwoDoubles
202
203
rust_dbg_extern_identity_double
203
204
rust_dbg_extern_identity_u8
204
205
rust_get_rt_env
Original file line number Diff line number Diff line change 8
8
// option. This file may not be copied, modified, or distributed
9
9
// except according to those terms.
10
10
11
- struct S {
12
- r : float
11
+ struct TwoDoubles {
12
+ r : float ,
13
+ i : float
13
14
}
14
15
15
16
extern "C" {
16
- fn rust_dbg_extern_identity_double ( arg1 : S ) -> float ;
17
+ fn rust_dbg_extern_identity_TwoDoubles ( arg1 : TwoDoubles ) -> TwoDoubles ;
17
18
}
18
19
19
20
pub fn main ( ) { }
You can’t perform that action at this time.
0 commit comments