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/vec-calloc.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/vec-calloc.rs')
| -rw-r--r-- | tests/codegen/vec-calloc.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/codegen/vec-calloc.rs b/tests/codegen/vec-calloc.rs index 2e2769ce130..d1c320ead01 100644 --- a/tests/codegen/vec-calloc.rs +++ b/tests/codegen/vec-calloc.rs @@ -177,6 +177,6 @@ pub fn vec_option_i32(n: usize) -> Vec<Option<i32>> { } // Ensure that __rust_alloc_zeroed gets the right attributes for LLVM to optimize it away. -// CHECK: declare noalias noundef ptr @__rust_alloc_zeroed(i64 noundef, i64 allocalign noundef) unnamed_addr [[RUST_ALLOC_ZEROED_ATTRS:#[0-9]+]] +// CHECK: declare noalias noundef ptr @{{.*}}__rust_alloc_zeroed(i64 noundef, i64 allocalign noundef) unnamed_addr [[RUST_ALLOC_ZEROED_ATTRS:#[0-9]+]] // CHECK-DAG: attributes [[RUST_ALLOC_ZEROED_ATTRS]] = { {{.*}} allockind("alloc,zeroed,aligned") allocsize(0) uwtable "alloc-family"="__rust_alloc" {{.*}} } |
