about summary refs log tree commit diff
path: root/tests/codegen/alloc-optimisation.rs
diff options
context:
space:
mode:
authorTshepang Mbambo <hopsi@tuta.io>2025-06-19 22:14:30 +0200
committerGitHub <noreply@github.com>2025-06-19 22:14:30 +0200
commit6ad42bf4e7ab81ec3d66a5e47dfe01dc51603c0b (patch)
tree59d2cbb81c6cf1bb95feb51963d037fd67fc51bf /tests/codegen/alloc-optimisation.rs
parentf25cfe83f2a13d96731861caae7236372f6445d5 (diff)
parentd854d563445082268ca8e7dd76b6ccde0342c2b3 (diff)
downloadrust-6ad42bf4e7ab81ec3d66a5e47dfe01dc51603c0b.tar.gz
rust-6ad42bf4e7ab81ec3d66a5e47dfe01dc51603c0b.zip
Merge pull request #2477 from rust-lang/rustc-pull
Rustc pull update
Diffstat (limited to 'tests/codegen/alloc-optimisation.rs')
-rw-r--r--tests/codegen/alloc-optimisation.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/codegen/alloc-optimisation.rs b/tests/codegen/alloc-optimisation.rs
index 19f14647c1d..3735860d510 100644
--- a/tests/codegen/alloc-optimisation.rs
+++ b/tests/codegen/alloc-optimisation.rs
@@ -5,7 +5,8 @@
 pub fn alloc_test(data: u32) {
     // CHECK-LABEL: @alloc_test
     // CHECK-NEXT: start:
-    // CHECK-NEXT: {{.*}} load volatile i8, ptr @{{.*}}__rust_no_alloc_shim_is_unstable, align 1
+    // CHECK-NEXT: ; call __rustc::__rust_no_alloc_shim_is_unstable_v2
+    // CHECK-NEXT: tail call void @_R{{.+}}__rust_no_alloc_shim_is_unstable_v2()
     // CHECK-NEXT: ret void
     let x = Box::new(data);
     drop(x);