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