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

/src/test/run-pass/generic-drop-glue.rs

http://github.com/jruderman/rust
Rust | 5 lines | 2 code | 3 blank | 0 comment | 0 complexity | d3331f1c250e31fa68c57107e89514af MD5 | raw file
1
2
3fn f<T: copy>(t: T) { let t1: T = t; }
4
5fn main() { let x = {x: @10, y: @12}; f(x); }