Un-xfail test/run-fail/pred.rs

This commit is contained in:
Tim Chevalier 2011-06-14 14:17:08 -07:00
parent 1513539b67
commit 1cc7165e62
1 changed files with 3 additions and 6 deletions

View File

@ -1,14 +1,11 @@
// xfail-stage0
// xfail-stage1
// xfail-stage2
// -*- rust -*-
// error-pattern:predicate check
// xfail-stage0
// error-pattern:Predicate lt(b, a) failed
fn f(int a, int b) : lt(a,b) {
}
fn lt(int a, int b) -> bool {
pred lt(int a, int b) -> bool {
ret a < b;
}