PageRenderTime 11ms CodeModel.GetById 6ms app.highlight 1ms RepoModel.GetById 2ms app.codeStats 0ms

/src/test/run-pass/leak-box-as-tydesc.rs

http://github.com/jruderman/rust
Rust | 5 lines | 2 code | 3 blank | 0 comment | 0 complexity | 52d819f6708389269b44e78f1b6d91f7 MD5 | raw file
1
2
3fn leaky<T>(t: T) { }
4
5fn main() { let x = @10; leaky::<@int>(x); }