2011-10-18 17:07:40 -05:00
|
|
|
fn quux<@T>(x: T) -> T { let f = bind id::<T>(_); ret f(x); }
|
2011-07-08 19:43:44 -05:00
|
|
|
|
2011-09-12 04:27:30 -05:00
|
|
|
fn id<@T>(x: T) -> T { ret x; }
|
2011-07-08 19:43:44 -05:00
|
|
|
|
2011-08-12 08:37:25 -05:00
|
|
|
fn main() { assert (quux(10) == 10); }
|