rust/tests/ui/feature-gates/feature-gate-fn_align.rs
2023-01-11 09:32:08 +00:00

5 lines
131 B
Rust

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