Skip to content

Commit

Permalink
Fix the error-pattern in compile-fail/bad-main.rs. Un-XFAIL
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
brson committed Aug 11, 2011
1 parent 7b337e3 commit 32438e8
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/test/compile-fail/bad-main.rs
Original file line number Diff line number Diff line change
@@ -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) { }

0 comments on commit 32438e8

Please sign in to comment.