PageRenderTime 3ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/src/test/run-pass/simple-generic-alt.rs

http://github.com/jruderman/rust
Rust | 5 lines | 2 code | 3 blank | 0 comment | 0 complexity | 1c4ac92a5cff782443329f9a868e9ac4 MD5 | raw file
1
2
3enum clam<T> { a(T), }
4
5fn main() { let c = a(2); match c { a::<int>(_) => { } } }