rust/tests/ui/attributes/invalid-repr.rs

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

6 lines
151 B
Rust
Raw Normal View History

#[repr(align(16))]
//~^ ERROR attribute should be applied to a struct, enum, function, associated function, or union
pub type Foo = i32;
fn main() {}