Skip to content

Commit eaefb0f

Browse files
committed
Test case for issue #758.
1 parent b83167c commit eaefb0f

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// xfail-stage1
2+
// xfail-stage2
3+
// xfail-stage3
4+
5+
// Test case for issue #758.
6+
obj foo() { fn f() { } }
7+
8+
fn main() {
9+
let my_foo = foo();
10+
let f = my_foo.f;
11+
}

0 commit comments

Comments
 (0)