rust/src/test/run-pass/native2.rs
2011-09-01 12:14:35 -07:00

18 lines
265 B
Rust

native "rust" mod rustrt {
fn unsupervise();
}
native "rust" mod bar = "" { }
native "cdecl" mod zed = "" { }
native "cdecl" mod libc = "" {
fn write(fd: int, buf: *u8, count: uint) -> int;
}
native "cdecl" mod baz = "" { }
fn main(args: [istr]) { }