mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
A couple new tests for broken parts of the typechecker, XFAILed.
This commit is contained in:
parent
261d543920
commit
bcf29b882a
@ -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 \
|
||||||
)
|
)
|
||||||
|
5
src/test/compile-fail/bad-recv.rs
Normal file
5
src/test/compile-fail/bad-recv.rs
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
// error-pattern: mismatched types
|
||||||
|
|
||||||
|
fn main() {
|
||||||
|
10 <- 10;
|
||||||
|
}
|
5
src/test/compile-fail/bad-send.rs
Normal file
5
src/test/compile-fail/bad-send.rs
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
// error-pattern: mismatched types
|
||||||
|
|
||||||
|
fn main() {
|
||||||
|
10 <| 10;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user