XFAIL some tests in stage 0
This commit is contained in:
parent
8d2706cca8
commit
fc67dddb9b
8 changed files with 14 additions and 0 deletions
|
|
@ -1,3 +1,4 @@
|
|||
// xfail-stage0
|
||||
//error-pattern:expanded as an identifier
|
||||
fn main() {
|
||||
#macro([#mylambda(x, body), {fn f(int x) -> int {ret body}; f}]);
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
// xfail-stage0
|
||||
//error-pattern:no clauses match
|
||||
|
||||
fn main() {
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
// xfail-stage0
|
||||
|
||||
// Binop corner cases
|
||||
|
||||
fn test_nil() {
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
// xfail-stage0
|
||||
|
||||
type foo = rec(int a, uint b);
|
||||
tag bar {
|
||||
u(@foo);
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
// xfail-stage0
|
||||
|
||||
fn main() {
|
||||
#macro([#mylambda(x,body), {fn f(int x) -> int { ret body }; f}]);
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
// xfail-stage0
|
||||
|
||||
fn main() {
|
||||
#macro([#trivial(), 1*2*4*2*1]);
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
// xfail-stage0
|
||||
|
||||
fn main() {
|
||||
#macro([#m1(a), a*4]);
|
||||
assert (#m1(2) == 8);
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
// xfail-stage0
|
||||
|
||||
tag t1 { a(int); b(uint); }
|
||||
type t2 = rec(t1 x, int y);
|
||||
tag t3 { c(t2, uint); }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue