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

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() {}