Skip to content

Commit b22aea8

Browse files
committed
Update tests
1 parent 4165a3f commit b22aea8

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

tests/unit/out/refcount/va_arg_non_primitive_ptrs.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ impl From<i32> for opt {
3131
}
3232
}
3333
}
34-
pub fn dispatch_0(option: i32, args: &[VaArg]) -> i32 {
34+
pub fn dispatch_0(option: i32, __args: &[VaArg]) -> i32 {
3535
let option: Value<i32> = Rc::new(RefCell::new(option));
3636
let ap: Value<VaList> = Rc::new(RefCell::new(VaList::default()));
37-
(*ap.borrow_mut()) = VaList::new(args);
37+
(*ap.borrow_mut()) = VaList::new(__args);
3838
let result: Value<i32> = Rc::new(RefCell::new(0));
3939
'switch: {
4040
let __match_cond = (*option.borrow());

tests/unit/out/unsafe/va_arg_non_primitive_ptrs.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ impl From<i32> for opt {
3131
}
3232
}
3333
}
34-
pub unsafe fn dispatch_0(mut option: i32, args: &[VaArg]) -> i32 {
34+
pub unsafe fn dispatch_0(mut option: i32, __args: &[VaArg]) -> i32 {
3535
let mut ap: VaList = VaList::default();
36-
ap = VaList::new(args);
36+
ap = VaList::new(__args);
3737
let mut result: i32 = 0;
3838
'switch: {
3939
let __match_cond = option;

0 commit comments

Comments
 (0)