Skip to content

Commit 30a332d

Browse files
committed
Update tests
1 parent 436c9ff commit 30a332d

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

tests/multi-file/extern_functions/out/unsafe/extern_functions.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ pub unsafe fn unrelated3_3() -> i32 {
3434
return 3;
3535
}
3636
pub unsafe fn helper_0(mut x: i32) -> i32 {
37-
(unsafe { unrelated1_1() });
38-
(unsafe { unrelated2_2() });
39-
(unsafe { unrelated3_3() });
37+
&(unsafe { unrelated1_1() });
38+
&(unsafe { unrelated2_2() });
39+
&(unsafe { unrelated3_3() });
4040
return ((x) + (1));
4141
}

tests/multi-file/header_function/out/unsafe/header_function.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ pub unsafe fn unrelated3_3() -> i32 {
3434
return 3;
3535
}
3636
pub unsafe fn helper_0(mut x: i32) -> i32 {
37-
(unsafe { unrelated1_1() });
38-
(unsafe { unrelated2_2() });
39-
(unsafe { unrelated3_3() });
37+
&(unsafe { unrelated1_1() });
38+
&(unsafe { unrelated2_2() });
39+
&(unsafe { unrelated3_3() });
4040
return ((x) + (1));
4141
}

0 commit comments

Comments
 (0)