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

7 lines
69 B
Rust

fn leaky[T](T t) {
}
fn main() {
auto x = @10;
leaky[@int](x);
}