mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 02:33:55 +00:00
10 lines
181 B
Rust
10 lines
181 B
Rust
|
// compile-flags: -C no-prepopulate-passes -Z mir-opt-level=0
|
||
|
|
||
|
#![crate_type = "lib"]
|
||
|
#![feature(fn_align)]
|
||
|
|
||
|
// CHECK: align 16
|
||
|
#[no_mangle]
|
||
|
#[repr(align(16))]
|
||
|
pub fn fn_align() {}
|