From f9ca0c89d8d91a71d14a980037f3d7e555667515 Mon Sep 17 00:00:00 2001 From: Tim Chevalier Date: Thu, 15 Nov 2012 18:03:12 -0800 Subject: [PATCH] Add xfailed test for #3979 --- src/test/run-pass/issue-3979.rs | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/test/run-pass/issue-3979.rs diff --git a/src/test/run-pass/issue-3979.rs b/src/test/run-pass/issue-3979.rs new file mode 100644 index 0000000000000..8f113ef40a2fe --- /dev/null +++ b/src/test/run-pass/issue-3979.rs @@ -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() {}