]> git.lizzy.rs Git - rust.git/blob - tests/codegen/noalias-box-off.rs
Rollup merge of #106113 - krasimirgg:llvm-16-ext-tyid, r=nikic
[rust.git] / tests / codegen / noalias-box-off.rs
1 // compile-flags: -O -Z box-noalias=no
2
3 #![crate_type = "lib"]
4
5 // CHECK-LABEL: @box_should_not_have_noalias_if_disabled(
6 // CHECK-NOT: noalias
7 #[no_mangle]
8 pub fn box_should_not_have_noalias_if_disabled(_b: Box<u8>) {}