enum bar { u(~int), w(int), } fn main() { assert match u(~10) { u(a) => { log(error, a); *a } _ => { 66 } } == 10; }