rust/src/test/ui/issues/issue-34571.rs
2019-07-27 18:56:16 +03:00

12 lines
111 B
Rust

// run-pass
#[repr(u8)]
enum Foo {
Foo(u8),
}
fn main() {
match Foo::Foo(1) {
_ => ()
}
}