rust/src/test/run-pass/generic-fn-box.rs

11 lines
97 B
Rust

// xfail-boot
fn f[T](@T x) -> @T {
ret x;
}
fn main() {
auto x = f(@3);
log *x;
}