XFAIL some tests in stage 0

This commit is contained in:
Brian Anderson 2011-07-13 18:46:50 -07:00
parent 8d2706cca8
commit fc67dddb9b
8 changed files with 14 additions and 0 deletions

View file

@ -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}]);

View file

@ -1,3 +1,4 @@
// xfail-stage0
//error-pattern:no clauses match
fn main() {

View file

@ -1,3 +1,5 @@
// xfail-stage0
// Binop corner cases
fn test_nil() {

View file

@ -1,3 +1,5 @@
// xfail-stage0
type foo = rec(int a, uint b);
tag bar {
u(@foo);

View file

@ -1,3 +1,5 @@
// xfail-stage0
fn main() {
#macro([#mylambda(x,body), {fn f(int x) -> int { ret body }; f}]);

View file

@ -1,3 +1,5 @@
// xfail-stage0
fn main() {
#macro([#trivial(), 1*2*4*2*1]);

View file

@ -1,3 +1,5 @@
// xfail-stage0
fn main() {
#macro([#m1(a), a*4]);
assert (#m1(2) == 8);

View file

@ -1,3 +1,5 @@
// xfail-stage0
tag t1 { a(int); b(uint); }
type t2 = rec(t1 x, int y);
tag t3 { c(t2, uint); }