rust/src/test/run-pass/simple-generic-alt.rs
2011-07-27 15:54:33 +02:00

5 lines
76 B
Rust

tag clam[T] { a(T); }
fn main() { let c = a(2); alt c { a[int](_) { } } }