mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-04 09:53:04 +03:00
extend box-maybe-uninit test
This commit is contained in:
@@ -9,5 +9,8 @@
|
||||
pub fn box_uninitialized() -> Box<MaybeUninit<usize>> {
|
||||
// CHECK-LABEL: @box_uninitialized
|
||||
// CHECK-NOT: store
|
||||
// CHECK-NOT: alloca
|
||||
// CHECK-NOT: memcpy
|
||||
// CHECK-NOT: memset
|
||||
Box::new(MaybeUninit::uninitialized())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user