Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (14 sloc) 229 Bytes
// 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() {}
You can’t perform that action at this time.