rust/tests/ui/feature-gates/feature-gate-fn_align.rs

5 lines
131 B
Rust
Raw Normal View History

#![crate_type = "lib"]
#[repr(align(16))] //~ ERROR `repr(align)` attributes on functions are unstable
fn requires_alignment() {}