blob: 6e390a12b15acc31d076eb01507ad6984ca97368 (
plain)
1
2
3
4
5
6
7
8
9
|
//@ compile-flags: --crate-type=lib
#![deny(unused_attributes)]
#[repr()] //~ ERROR unused attribute
#[repr(packed)] //~ ERROR attribute should be applied to a struct or union
pub enum Foo {
Bar,
Baz(i32),
}
|