mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 06:44:35 +00:00
9 lines
189 B
Rust
9 lines
189 B
Rust
//@ 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>) {}
|