Skip to content

Commit

Permalink
The self-stack stuff (from #702) also closes issue #718.
Browse files Browse the repository at this point in the history
  • Loading branch information
lkuper committed Aug 9, 2011
1 parent a37e00e commit ff22368
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/test/run-pass/issue-718.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
//xfail-stage1
//xfail-stage2
//xfail-stage3

fn main() {

obj a() {
Expand All @@ -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);
}

0 comments on commit ff22368

Please sign in to comment.