A couple new tests for broken parts of the typechecker, XFAILed.
This commit is contained in:
parent
261d543920
commit
bcf29b882a
3 changed files with 14 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue