From 32438e82b3c81f9071165d552fb7928be79bc592 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Wed, 10 Aug 2011 21:04:52 -0700 Subject: [PATCH] Fix the error-pattern in compile-fail/bad-main.rs. Un-XFAIL This is also tested by compile-fail/main-wrong-type.rs but the type signatures are slightly different, so I guess it's worth holding on to. --- src/test/compile-fail/bad-main.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/test/compile-fail/bad-main.rs b/src/test/compile-fail/bad-main.rs index 908e30a79c6c..691dac269fc1 100644 --- a/src/test/compile-fail/bad-main.rs +++ b/src/test/compile-fail/bad-main.rs @@ -1,6 +1,3 @@ -// xfail-stage1 -// xfail-stage2 -// xfail-stage3 -// error-pattern: bad type signature +// error-pattern:Wrong type in main function fn main(x: int) { } \ No newline at end of file