]> git.lizzy.rs Git - rust.git/blobdiff - tests/codegen/box-maybe-uninit.rs
Rollup merge of #106747 - yanchen4791:issue-105507-fix, r=estebank
[rust.git] / tests / codegen / box-maybe-uninit.rs
index c82b56a71f5cfde9d3c9a90f2143841536110119..2f88966996ab2e25efb1adfcb8d03420d3cf5e5d 100644 (file)
@@ -28,6 +28,6 @@ pub fn box_uninitialized() -> Box<MaybeUninit<usize>> {
 
 // Hide the `allocalign` attribute in the declaration of __rust_alloc
 // from the CHECK-NOT above, and also verify the attributes got set reasonably.
-// CHECK: declare noalias ptr @__rust_alloc(i{{[0-9]+}}, i{{[0-9]+}} allocalign) unnamed_addr [[RUST_ALLOC_ATTRS:#[0-9]+]]
+// CHECK: declare noalias noundef ptr @__rust_alloc(i{{[0-9]+}} noundef, i{{[0-9]+}} allocalign noundef) unnamed_addr [[RUST_ALLOC_ATTRS:#[0-9]+]]
 
 // CHECK-DAG: attributes [[RUST_ALLOC_ATTRS]] = { {{.*}} allockind("alloc,uninitialized,aligned") allocsize(0) uwtable "alloc-family"="__rust_alloc" {{.*}} }