rust/tests/ui/attributes/malformed-fn-align.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
168 B
Rust
Raw Permalink Normal View History

#![feature(fn_align)]
#![crate_type = "lib"]
trait MyTrait {
#[repr(align)] //~ ERROR invalid `repr(align)` attribute: `align` needs an argument
fn myfun();
}