rust/src/test/run-pass/native.rc

14 lines
185 B
Plaintext
Raw Normal View History

// xfail-test
2010-06-23 23:03:09 -05:00
// -*- rust -*-
native "cdecl" mod rustrt {
2010-06-23 23:03:09 -05:00
fn str_buf(str s) -> int;
}
native mod libc = target_libc {
fn puts(int s) -> ();
}
mod user = "native-src/native.rs";