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

6 lines
88 B
Rust
Raw Normal View History

2010-06-23 23:03:09 -05:00
fn f<T: copy>(t: T) { let t1: T = t; }
fn main() { let x = {x: @10, y: @12}; f(x); }