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-08-12 08:37:25 -05:00
|
|
|
fn f<T>() -> option<T> { ret none; }
|
2011-06-08 14:52:36 -05:00
|
|
|
|
2011-08-10 11:27:22 -05:00
|
|
|
fn main() { f[int](); }
|