rust/src/test/ui/issues/issue-47094.rs
2019-11-04 16:03:46 +01:00

17 lines
211 B
Rust

// check-pass
#[repr(C,u8)] //~ WARNING conflicting representation hints
enum Foo {
A,
B,
}
#[repr(C)] //~ WARNING conflicting representation hints
#[repr(u8)]
enum Bar {
A,
B,
}
fn main() {}