]> git.lizzy.rs Git - rust.git/commitdiff
extend box-maybe-uninit test
authorRalf Jung <post@ralfj.de>
Tue, 5 Feb 2019 21:26:30 +0000 (22:26 +0100)
committerRalf Jung <post@ralfj.de>
Tue, 5 Feb 2019 21:26:30 +0000 (22:26 +0100)
src/test/codegen/box-maybe-uninit.rs

index a7fb74c04731d877ea36b9e28a8ce9f1d7140527..ad1d259a0da21e3c8607db64ec4156e3db11354c 100644 (file)
@@ -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())
 }