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:
parent
7b337e3581
commit
32438e82b3
1 changed files with 1 additions and 4 deletions
|
|
@ -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) { }
|
||||
Loading…
Add table
Add a link
Reference in a new issue