9 lines
172 B
Rust
9 lines
172 B
Rust
// aux-build:issue-3012-1.rs
|
|
use socketlib;
|
|
import socketlib::socket;
|
|
|
|
fn main() {
|
|
let fd: libc::c_int = 1 as libc::c_int;
|
|
let sock = @socket::socket_handle(fd);
|
|
}
|