]> git.lizzy.rs Git - rust.git/blob - tests/codegen/noalias-box.rs
Auto merge of #107843 - bjorn3:sync_cg_clif-2023-02-09, r=bjorn3
[rust.git] / tests / codegen / noalias-box.rs
1 // compile-flags: -O
2
3 #![crate_type = "lib"]
4
5 // CHECK-LABEL: @box_should_have_noalias_by_default(
6 // CHECK: noalias
7 #[no_mangle]
8 pub fn box_should_have_noalias_by_default(_b: Box<u8>) {}