testsuite: update a test for #4350

This commit is contained in:
ILyoan 2013-05-08 13:15:08 +09:00
parent 3c4b32cdbe
commit 1813ab594d

View File

@ -10,16 +10,16 @@
//xfail-test
// Currently failing with an ICE in trans. (FIXME: #2794)
// Currently failing with an ICE in trans. (FIXME: #4350)
trait Cat {
fn meow() -> bool;
fn scratch() -> bool { self.purr() }
fn purr() -> bool { true }
fn meow(&self) -> bool;
fn scratch(&self) -> bool { self.purr() }
fn purr(&self) -> bool { true }
}
impl Cat for int {
fn meow() -> bool {
fn meow(&self) -> bool {
self.scratch()
}
}