diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2023-12-02 14:17:33 +0000 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2025-03-17 14:08:09 +0000 |
| commit | b754ef727ca87050a8d758fc44f524cfb4310eff (patch) | |
| tree | 0648cce2fba4274eb3b7cd6e88a789ce0eaa22f6 /tests/codegen/iter-repeat-n-trivial-drop.rs | |
| parent | c0639ef8e4b4bf9feadb8bea49d4fe23ce9e8017 (diff) | |
| download | rust-b754ef727ca87050a8d758fc44f524cfb4310eff.tar.gz rust-b754ef727ca87050a8d758fc44f524cfb4310eff.zip | |
Remove implicit #[no_mangle] for #[rustc_std_internal_symbol]
Diffstat (limited to 'tests/codegen/iter-repeat-n-trivial-drop.rs')
| -rw-r--r-- | tests/codegen/iter-repeat-n-trivial-drop.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/codegen/iter-repeat-n-trivial-drop.rs b/tests/codegen/iter-repeat-n-trivial-drop.rs index 4dab499a8a5..3bb942d11d5 100644 --- a/tests/codegen/iter-repeat-n-trivial-drop.rs +++ b/tests/codegen/iter-repeat-n-trivial-drop.rs @@ -47,7 +47,7 @@ pub fn iter_repeat_n_next(it: &mut std::iter::RepeatN<NotCopy>) -> Option<NotCop #[no_mangle] // CHECK-LABEL: @vec_extend_via_iter_repeat_n pub fn vec_extend_via_iter_repeat_n() -> Vec<u8> { - // CHECK: %[[ADDR:.+]] = tail call {{(noalias )?}}noundef dereferenceable_or_null(1234) ptr @__rust_alloc(i64 noundef {{(range\(i64 1, 0\) )?}}1234, i64 noundef {{(range\(i64 1, -9223372036854775807\) )?}}1) + // CHECK: %[[ADDR:.+]] = tail call {{(noalias )?}}noundef dereferenceable_or_null(1234) ptr @{{.*}}__rust_alloc(i64 noundef {{(range\(i64 1, 0\) )?}}1234, i64 noundef {{(range\(i64 1, -9223372036854775807\) )?}}1) // CHECK: tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 1 dereferenceable(1234) %[[ADDR]], i8 42, i64 1234, let n = 1234_usize; |
