rust/src/test/pretty/alt-naked-expr-medium.rs
2012-08-06 15:36:30 -07:00

11 lines
194 B
Rust

// pretty-exact
fn main() {
let x = some(3);
let _y =
match x {
some(_) => ~[~"some(_)", ~"not", ~"SO", ~"long", ~"string"],
none => ~[~"none"]
};
}