summary refs log tree commit diff
path: root/src/test/run-pass/generic-fn-box.rs
blob: 4f0bd22944ede3647134cd476a5b60fbcdb36a8b (plain)
1
2
3
4
5


fn f<T>(x: @T) -> @T { ret x; }

fn main() { let x = f(@3); log(debug, *x); }