about summary refs log tree commit diff
path: root/tests/ui/attributes/invalid-repr.rs
blob: d7933533405c4ceb357d846117acf97461abe4db (plain)
1
2
3
4
5
#[repr(align(16))]
//~^ ERROR attribute should be applied to a struct, enum, or union
pub type Foo = i32;

fn main() {}