diff options
| author | The rustc-dev-guide Cronjob Bot <github-actions@github.com> | 2025-06-19 04:07:39 +0000 |
|---|---|---|
| committer | The rustc-dev-guide Cronjob Bot <github-actions@github.com> | 2025-06-19 04:07:39 +0000 |
| commit | d854d563445082268ca8e7dd76b6ccde0342c2b3 (patch) | |
| tree | 59d2cbb81c6cf1bb95feb51963d037fd67fc51bf /tests/codegen/alloc-optimisation.rs | |
| parent | 48b36ee8ad3a2dc61e5ed1248621b4371bd1f147 (diff) | |
| parent | d1d8e386c5e84c4ba857f56c3291f73c27e2d62a (diff) | |
| download | rust-d854d563445082268ca8e7dd76b6ccde0342c2b3.tar.gz rust-d854d563445082268ca8e7dd76b6ccde0342c2b3.zip | |
Merge from rustc
Diffstat (limited to 'tests/codegen/alloc-optimisation.rs')
| -rw-r--r-- | tests/codegen/alloc-optimisation.rs | 3 |
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); |
