granite-rust/src/test/run-pass/alt-path.rs
Marijn Haverbeke 3816e57fd2 Downcase std modules again, move to :: for module dereferencing
This should be a snapshot transition.
2011-05-12 21:30:44 +02:00

14 lines
141 B
Rust

mod m1 {
tag foo {
foo1;
foo2;
}
}
fn bar(m1::foo x) {
alt(x) {
case (m1::foo1) {
}
}
}
fn main(vec[str] args) {
}