1
Fork 0

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:
Alex Crichton 2013-09-25 00:43:37 -07:00
parent 10a583ce1a
commit 30862a64c2
137 changed files with 145 additions and 143 deletions

View file

@ -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];