rust/tests/run-pass/issue-34571.rs
2019-02-26 18:37:45 +00:00

11 lines
99 B
Rust

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