Test case for issue #758.

This commit is contained in:
Lindsey Kuper 2011-08-09 12:21:21 -07:00
parent b83167cf91
commit eaefb0f1f6

View File

@ -0,0 +1,11 @@
// xfail-stage1
// xfail-stage2
// xfail-stage3
// Test case for issue #758.
obj foo() { fn f() { } }
fn main() {
let my_foo = foo();
let f = my_foo.f;
}