rust/tests/run-pass/bad_substs.rs
2017-03-24 09:03:19 +01:00

5 lines
74 B
Rust

fn main() {
let f: fn(i32) -> Option<i32> = Some::<i32>;
f(42);
}