From ff223682798a83bb0f9208b6de25d1f1b5383f61 Mon Sep 17 00:00:00 2001 From: Lindsey Kuper Date: Tue, 9 Aug 2011 11:43:58 -0700 Subject: [PATCH] The self-stack stuff (from #702) also closes issue #718. --- src/test/run-pass/issue-718.rs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/test/run-pass/issue-718.rs b/src/test/run-pass/issue-718.rs index 05d2402361382..31316f3d1ef00 100644 --- a/src/test/run-pass/issue-718.rs +++ b/src/test/run-pass/issue-718.rs @@ -1,7 +1,3 @@ -//xfail-stage1 -//xfail-stage2 -//xfail-stage3 - fn main() { obj a() { @@ -17,5 +13,10 @@ fn main() { let my_c = obj () { with my_b }; assert (my_c.foo() == 2); + + // ...One more for good measure. + let my_d = obj () { with my_b }; + + assert (my_d.foo() == 2); }