Skip to content

Commit b331b86

Browse files
committed
extend box-maybe-uninit test
1 parent d371bce commit b331b86

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/test/codegen/box-maybe-uninit.rs

+3
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,8 @@ use std::mem::MaybeUninit;
99
pub fn box_uninitialized() -> Box<MaybeUninit<usize>> {
1010
// CHECK-LABEL: @box_uninitialized
1111
// CHECK-NOT: store
12+
// CHECK-NOT: alloca
13+
// CHECK-NOT: memcpy
14+
// CHECK-NOT: memset
1215
Box::new(MaybeUninit::uninitialized())
1316
}

0 commit comments

Comments
 (0)