Make run-pass/native-fn-linkname's main take no args

check-fast doesn't like it.
This commit is contained in:
Brian Anderson 2011-11-15 10:09:28 -08:00
parent eae478cd74
commit 47d875e002

View File

@ -13,7 +13,7 @@ fn strlen(str: str) -> uint unsafe {
ret libc::my_strlen(vec::unsafe::to_ptr(bytes));
}
fn main(_args: [str]) {
fn main() {
let len = strlen("Rust");
assert(len == 4u);
}