2012-08-16 16:44:34 -05:00
|
|
|
// xfail-fast
|
2012-08-15 20:34:28 -05:00
|
|
|
// aux-build:issue-3012-1.rs
|
2012-09-11 19:46:20 -05:00
|
|
|
extern mod socketlib;
|
2012-09-05 14:32:05 -05:00
|
|
|
use socketlib::socket;
|
2012-08-15 20:34:28 -05:00
|
|
|
|
|
|
|
fn main() {
|
|
|
|
let fd: libc::c_int = 1 as libc::c_int;
|
|
|
|
let sock = @socket::socket_handle(fd);
|
|
|
|
}
|