rust/tests/ui/attributes/invalid-repr.rs
2023-04-17 12:42:02 +00:00

6 lines
151 B
Rust

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