Fix run-pass tests to have 'pub fn main'
This is required by the check-fast target because each test is slurped up into a submodule.
This commit is contained in:
parent
10a583ce1a
commit
30862a64c2
137 changed files with 145 additions and 143 deletions
|
@ -15,7 +15,7 @@ enum Flopsy {
|
|||
static BAR:uint = Bunny as uint;
|
||||
static BAR2:uint = BAR;
|
||||
|
||||
fn main() {
|
||||
pub fn main() {
|
||||
let _v = [0, .. Bunny as uint];
|
||||
let _v = [0, .. BAR];
|
||||
let _v = [0, .. BAR2];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue