rust/tests/ui/foreign/foreign-src/foreign.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
201 B
Rust
Raw Normal View History

// run-pass
pub fn main() {
libc.puts(rustrt.str_buf("hello, extern world 1"));
libc.puts(rustrt.str_buf("hello, extern world 2"));
libc.puts(rustrt.str_buf("hello, extern world 3"));
}