Add test for issue #511. Closes #511

This commit is contained in:
Brian Anderson 2011-09-22 22:50:12 -07:00
parent dbd2ee015a
commit cee7b4caee

View file

@ -0,0 +1,10 @@
use std;
import std::option;
fn f<@T>(&o: mutable option::t<T>) {
assert o == option::none;
}
fn main() {
f::<int>(option::none);
}