fn foo(o: myoption) -> int { let mut x: int = 5; alt o { none:: { } some::(t) { x += 1; } } ret x; } enum myoption { none, some(T), } fn main() { log(debug, 5); }