test: Un-xfail some compile-fail tests

Changed a few error patterns to match rustc's errors where it seemed
reasonable.
This commit is contained in:
Brian Anderson 2011-05-23 22:49:13 -04:00
parent c22100ab2d
commit e5e2811bc6
8 changed files with 2 additions and 23 deletions

View file

@ -1,6 +1,3 @@
// xfail-stage0
// xfail-stage1
// xfail-stage2
// error-pattern: expecting
fn main() {

View file

@ -1,5 +1,3 @@
// xfail-stage0
// xfail-stage1
// error-pattern: attempted dynamic environment-capture
fn foo() {
let int x;

View file

@ -1,5 +1,3 @@
// xfail-stage0
// xfail-stage1
// error-pattern: attempted dynamic environment-capture
fn foo(int x) {
fn bar() {

View file

@ -1,5 +1,3 @@
// xfail-stage0
// xfail-stage1
// error-pattern: attempted dynamic environment-capture
obj foo(int x) {
fn mth() {

View file

@ -1,6 +1,3 @@
// xfail-stage0
// xfail-stage1
// xfail-stage2
// error-pattern: mismatched types
fn main() {

View file

@ -1,6 +1,3 @@
// xfail-stage0
// xfail-stage1
// xfail-stage2
// error-pattern: mismatched types
fn main() {

View file

@ -1,7 +1,4 @@
// xfail-stage0
// xfail-stage1
// xfail-stage2
// error-pattern: unresolved identifier
// error-pattern: unresolved name
obj oT() {
fn get() -> int {
ret 3;

View file

@ -1,9 +1,6 @@
// xfail-stage0
// xfail-stage1
// xfail-stage2
// -*- rust -*-
// error-pattern: token
// error-pattern: unterminated block comment
/*
* This is an un-balanced /* multi-line comment.