summaryrefslogtreecommitdiffstats
path: root/tests/codegen/align-fn.rs
blob: c5886cf28081a3b6186c5bb01ca454276a53f803 (plain)
1
2
3
4
5
6
7
8
9
// 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() {}