aboutsummaryrefslogtreecommitdiff
path: root/src/test/run-pass/simple-generic-alt.rs
blob: 85db5c7c168affac6fc98ad329093281465ad3b4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
tag clam[T] {
    a(T);
}

fn main() {
    auto c = a(2);
    alt (c) {
        case (a[int](_)) {}
    }
}