1 2 3 4 5 6 7 8 9 10 11 12 13 14
mod m1 { tag foo { foo1; foo2; } } fn bar(m1::foo x) { alt(x) { case (m1::foo1) { } } } fn main(vec[str] args) { }