8 lines
115 B
Rust
8 lines
115 B
Rust
|
// Test case for issue #758.
|
||
|
obj foo() { fn f() { } }
|
||
|
|
||
|
fn main() {
|
||
|
let my_foo = foo();
|
||
|
let f = my_foo.f;
|
||
|
}
|