diff options
| author | Ben Kimock <kimockb@gmail.com> | 2024-07-24 19:12:50 -0400 |
|---|---|---|
| committer | Ben Kimock <kimockb@gmail.com> | 2024-07-25 15:14:42 -0400 |
| commit | a7d57aa7c8f42dda6d33e0ac349cf834eaf041b8 (patch) | |
| tree | 2ec95ebff75de2ac0d843ac244c12ab660baa0b2 /tests/codegen/emcripten-catch-unwind.rs | |
| parent | 92c6c03805408a1a261b98013304e9bbf59ee428 (diff) | |
| download | rust-a7d57aa7c8f42dda6d33e0ac349cf834eaf041b8.tar.gz rust-a7d57aa7c8f42dda6d33e0ac349cf834eaf041b8.zip | |
Let InstCombine remove Clone shims inside Clone shims
Co-authored-by: scottmcm <scottmcm@users.noreply.github.com>
Diffstat (limited to 'tests/codegen/emcripten-catch-unwind.rs')
| -rw-r--r-- | tests/codegen/emcripten-catch-unwind.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/codegen/emcripten-catch-unwind.rs b/tests/codegen/emcripten-catch-unwind.rs index 6cda8c6799f..35444db9558 100644 --- a/tests/codegen/emcripten-catch-unwind.rs +++ b/tests/codegen/emcripten-catch-unwind.rs @@ -16,6 +16,8 @@ trait Freeze {} #[lang = "copy"] trait Copy {} +impl<T> Copy for *mut T {} + #[rustc_intrinsic] fn size_of<T>() -> usize { loop {} |
