rust/tests/codegen/noalias-box.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
189 B
Rust
Raw Normal View History

//@ compile-flags: -O
#![crate_type = "lib"]
// CHECK-LABEL: @box_should_have_noalias_by_default(
// CHECK: noalias
#[no_mangle]
pub fn box_should_have_noalias_by_default(_b: Box<u8>) {}