diff --git a/src/test/run-pass/native-fn-linkname.rs b/src/test/run-pass/native-fn-linkname.rs index a43cab54f35..7cd4a86bba2 100644 --- a/src/test/run-pass/native-fn-linkname.rs +++ b/src/test/run-pass/native-fn-linkname.rs @@ -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); }