aboutsummaryrefslogtreecommitdiff
path: root/src/test/run-pass/alt-path.rs
blob: ad55713b0852ae41f8eaa2c623884a49ab05f0a9 (plain) (blame)
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) {
}