test: Add a test case for issue #362, "ret none".

This commit is contained in:
Patrick Walton 2011-06-08 12:52:36 -07:00
parent 4571172c03
commit 2f853ddb8d

View File

@ -0,0 +1,6 @@
tag option[T] { none; some(T); }
fn f[T]() -> option[T] { ret none; }
fn main() { f[int](); }