fn f(x: ~T) -> ~T { ret x; } fn main() { let x = f(~3); log *x; }