summaryrefslogtreecommitdiffstats
path: root/tests/ui/attributes/invalid-repr.rs
blob: 10a487c127ec8e64aa7ccad9d7cf60da08efc51a (plain)
1
2
3
4
5
#[repr(align(16))]
//~^ ERROR attribute should be applied to a struct, enum, function, associated function, or union
pub type Foo = i32;

fn main() {}