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

fn f<T: Copy>(x: ~T) -> ~T { return x; }

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