2011-06-15 13:19:50 -05:00
|
|
|
|
|
|
|
|
2011-08-12 08:37:25 -05:00
|
|
|
tag option<T> { none; some(T); }
|
2011-06-08 14:52:36 -05:00
|
|
|
|
2011-11-18 05:39:20 -06:00
|
|
|
fn f<copy T>() -> option<T> { ret none; }
|
2011-06-08 14:52:36 -05:00
|
|
|
|
2011-08-13 02:10:18 -05:00
|
|
|
fn main() { f::<int>(); }
|