rust/src/test/run-pass/extern-pub.rs
Philipp Brueschweiler f8ae3cdcaa 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.
2013-06-24 19:14:20 +02:00

7 lines
62 B
Rust

extern {
pub unsafe fn free(p: *u8);
}
pub fn main() {
}