mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
17 lines
231 B
Rust
17 lines
231 B
Rust
//@ run-pass
|
|
#![allow(dead_code)]
|
|
//@ pretty-expanded FIXME #23616
|
|
|
|
enum Foo {
|
|
A,
|
|
B(isize),
|
|
C { a: isize },
|
|
}
|
|
|
|
fn _foo (f: Foo) {
|
|
match f {
|
|
Foo::A | Foo::B(_) | Foo::C { .. } => {}
|
|
}
|
|
}
|
|
|
|
pub fn main() {}
|