Fix test failure on windows

This patch ensures that the multiple extern definitions of `free` in the
run-pass tests have the same declaration, working around #7352.
This commit is contained in:
Philipp Brueschweiler 2013-06-24 19:14:20 +02:00
parent ce888a5055
commit f8ae3cdcaa

View File

@ -1,7 +1,5 @@
use std::libc;
extern {
pub unsafe fn free(p: *libc::c_void);
pub unsafe fn free(p: *u8);
}
pub fn main() {