diff options
| author | Laurențiu Nicola <lnicola@dend.ro> | 2025-06-23 12:17:31 +0300 |
|---|---|---|
| committer | Laurențiu Nicola <lnicola@dend.ro> | 2025-06-23 12:17:31 +0300 |
| commit | 3c4a690d018bebe98cf5ebfdfbf4388d131121c9 (patch) | |
| tree | 8ba69fe791545d69bd1d6fd93318b8bc76449a18 /tests/codegen/alloc-optimisation.rs | |
| parent | 3db7cffd54008792421a801e80701465c8977abd (diff) | |
| parent | 1052ddda964811c25823aa7285595f7085392b36 (diff) | |
| download | rust-3c4a690d018bebe98cf5ebfdfbf4388d131121c9.tar.gz rust-3c4a690d018bebe98cf5ebfdfbf4388d131121c9.zip | |
Merge from rust-lang/rust
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); |
