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