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.
This commit is contained in:
Brian Anderson 2011-08-10 21:04:52 -07:00
parent 7b337e3581
commit 32438e82b3

View file

@ -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) { }