mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-18 11:34:11 +00:00
9 lines
220 B
Rust
9 lines
220 B
Rust
// compile-flags: -O -Z box-noalias=no
|
|
|
|
#![crate_type = "lib"]
|
|
|
|
// CHECK-LABEL: @box_should_not_have_noalias_if_disabled(
|
|
// CHECK-NOT: noalias
|
|
#[no_mangle]
|
|
pub fn box_should_not_have_noalias_if_disabled(_b: Box<u8>) {}
|