diff options
| author | Jakub Beránek <berykubik@gmail.com> | 2025-07-23 14:59:10 +0200 |
|---|---|---|
| committer | Jakub Beránek <berykubik@gmail.com> | 2025-07-23 14:59:10 +0200 |
| commit | 67f73c75477338560fb78003149c11a9fa7d4820 (patch) | |
| tree | 7792f3f9786658de9949e9c27ac4dfb8c63fdb8d /tests/codegen/alloc-optimisation.rs | |
| parent | a343926954a525f491756c3c9714417ae9ccc121 (diff) | |
| parent | 0b88bea0d5169af3b3f9326274bda8b9c4a31823 (diff) | |
| download | rust-67f73c75477338560fb78003149c11a9fa7d4820.tar.gz rust-67f73c75477338560fb78003149c11a9fa7d4820.zip | |
Merge ref '5a30e4307f05' from rust-lang/rust
Pull recent changes from https://github.com/rust-lang/rust via Josh. Upstream ref: 5a30e4307f0506bed87eeecd171f8366fdbda1dc Filtered ref: 59749e9f8c765d3021796a9fe0c188643c4b8d77 This merge was created using https://github.com/rust-lang/josh-sync.
Diffstat (limited to 'tests/codegen/alloc-optimisation.rs')
| -rw-r--r-- | tests/codegen/alloc-optimisation.rs | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/tests/codegen/alloc-optimisation.rs b/tests/codegen/alloc-optimisation.rs deleted file mode 100644 index 3735860d510..00000000000 --- a/tests/codegen/alloc-optimisation.rs +++ /dev/null @@ -1,13 +0,0 @@ -//@ compile-flags: -Copt-level=3 -#![crate_type = "lib"] - -#[no_mangle] -pub fn alloc_test(data: u32) { - // CHECK-LABEL: @alloc_test - // CHECK-NEXT: start: - // 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); -} |
