cfdf193c46
Closes #1067
10 lines
132 B
Rust
10 lines
132 B
Rust
use std;
|
|
import std::option;
|
|
|
|
fn f<T>(&o: option::t<T>) {
|
|
assert o == option::none;
|
|
}
|
|
|
|
fn main() {
|
|
f::<int>(option::none);
|
|
} |