rust/src/test/run-pass/leak-unique-as-tydesc.rs
Brian Anderson 18b01d5cfe Create a bunch of test cases for unique boxes by copying box tests
XFAIL the ones that don't work

Issue #409
2011-09-23 15:15:30 -07:00

6 lines
70 B
Rust

fn leaky<T>(t: T) { }
fn main() { let x = ~10; leaky::<~int>(x); }