test: Fix compile-fail tests
This commit is contained in:
parent
4846affedb
commit
f74014b0e7
2 changed files with 11 additions and 0 deletions
|
|
@ -1,3 +1,9 @@
|
|||
// xfail-fast
|
||||
// xfail-test
|
||||
|
||||
// This is xfail'd due to bad typecheck error messages. (There is a spurious
|
||||
// "expected `bool` but but found `int`" message.)
|
||||
|
||||
fn f(f: fn@(int) -> bool) -> bool { f(10i) }
|
||||
|
||||
fn main() {
|
||||
|
|
|
|||
|
|
@ -1,3 +1,8 @@
|
|||
// xfail-fast
|
||||
// xfail-test
|
||||
|
||||
// This is xfail'd due to bad spurious typecheck error messages.
|
||||
|
||||
fn main() {
|
||||
fn f() { }
|
||||
fn g(i: int) { }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue