A couple new tests for broken parts of the typechecker, XFAILed.

This commit is contained in:
Graydon Hoare 2010-06-24 16:57:00 -07:00
parent 261d543920
commit bcf29b882a
3 changed files with 14 additions and 0 deletions

View File

@ -324,6 +324,8 @@ TEST_XFAILS_X86 := test/run-pass/mlist-cycle.rs \
test/run-pass/bind-obj-ctor.rs \ test/run-pass/bind-obj-ctor.rs \
test/run-pass/task-comm.rs \ test/run-pass/task-comm.rs \
test/compile-fail/rec-missing-fields.rs \ test/compile-fail/rec-missing-fields.rs \
test/compile-fail/bad-send.rs \
test/compile-fail/bad-recv.rs \
test/compile-fail/infinite-tag-type-recursion.rs \ test/compile-fail/infinite-tag-type-recursion.rs \
test/compile-fail/infinite-vec-type-recursion.rs test/compile-fail/infinite-vec-type-recursion.rs
@ -440,6 +442,8 @@ TEST_XFAILS_LLVM := $(addprefix test/run-pass/, \
) \ ) \
$(addprefix test/compile-fail/, \ $(addprefix test/compile-fail/, \
rec-missing-fields.rs \ rec-missing-fields.rs \
bad-send.rs \
bad-recv.rs \
infinite-tag-type-recursion.rs \ infinite-tag-type-recursion.rs \
infinite-vec-type-recursion.rs \ infinite-vec-type-recursion.rs \
) )

View File

@ -0,0 +1,5 @@
// error-pattern: mismatched types
fn main() {
10 <- 10;
}

View File

@ -0,0 +1,5 @@
// error-pattern: mismatched types
fn main() {
10 <| 10;
}