Skip to content

Commit

Permalink
Add xfailed test for #3979
Browse files Browse the repository at this point in the history
  • Loading branch information
catamorphism committed Nov 16, 2012
1 parent 6430517 commit f9ca0c8
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/test/run-pass/issue-3979.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
// xfail-test
trait Positioned {
fn SetX(int);
}

trait Movable: Positioned {
fn translate(dx: int) {
self.SetX(self.X() + dx);
}
}

fn main() {}

0 comments on commit f9ca0c8

Please sign in to comment.