Skip to content

Commit e582ed8

Browse files
committed
Update tests
1 parent df10725 commit e582ed8

2 files changed

Lines changed: 0 additions & 3 deletions

File tree

tests/benchmarks/out/unsafe/bfs.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@ pub unsafe fn BFS_0(graph: *const Graph, mut start_vertex: u32) -> *mut u32 {
108108
head = (*head).next;
109109
}
110110
}
111-
112111
::std::mem::drop(Box::from_raw(::std::slice::from_raw_parts_mut(
113112
visited,
114113
libcc2rs::malloc_usable_size(visited as *mut ::libc::c_void)
@@ -170,7 +169,6 @@ unsafe fn main_0() -> i32 {
170169
}
171170
i.prefix_inc();
172171
}
173-
174172
::std::mem::drop(Box::from_raw(::std::slice::from_raw_parts_mut(
175173
graph.adj,
176174
libcc2rs::malloc_usable_size(graph.adj as *mut ::libc::c_void)

tests/unit/out/unsafe/memset.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ unsafe fn main_0() -> i32 {
2828
sum += (*arr.offset((i) as isize));
2929
i.prefix_inc();
3030
}
31-
3231
::std::mem::drop(Box::from_raw(::std::slice::from_raw_parts_mut(
3332
arr,
3433
libcc2rs::malloc_usable_size(arr as *mut ::libc::c_void) / ::std::mem::size_of::<i32>(),

0 commit comments

Comments
 (0)