rust/src/test/run-pass/fn-coerce-field.rs
2011-10-20 18:23:48 -07:00

7 lines
80 B
Rust

type r = {
field: fn@()
};
fn main() {
let i: r = {field: fn#() { }};
}