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

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

http://github.com/jruderman/rust
Rust | 8 lines | 5 code | 3 blank | 0 comment | 0 complexity | 028fbf5ef7a382e03e4bbc2a2383f7be MD5 | raw file
1
2
3enum opt<T> { none, }
4
5fn main() {
6    let x = none::<int>;
7    match x { none::<int> => { debug!{"hello world"}; } }
8}