Skip to content

Commit ff22368

Browse files
committed
The self-stack stuff (from #702) also closes issue #718.
1 parent a37e00e commit ff22368

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/test/run-pass/issue-718.rs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
//xfail-stage1
2-
//xfail-stage2
3-
//xfail-stage3
4-
51
fn main() {
62

73
obj a() {
@@ -17,5 +13,10 @@ fn main() {
1713
let my_c = obj () { with my_b };
1814

1915
assert (my_c.foo() == 2);
16+
17+
// ...One more for good measure.
18+
let my_d = obj () { with my_b };
19+
20+
assert (my_d.foo() == 2);
2021
}
2122

0 commit comments

Comments
 (0)