]> git.lizzy.rs Git - rust.git/blob - src/test/codegen/noalias-box.rs
Rollup merge of #105743 - nnethercote:SimplifiedType-cleanups, r=lcnr
[rust.git] / src / test / 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>) {}