1 2 3 4 5 6 7 8 9
// run-pass struct Foo; pub fn main() { let x: Foo = Foo; match x { Foo => { println!("hi"); } } }