rust/src/test/ui/issues/issue-1251.rs
2018-12-25 21:08:33 -07:00

20 lines
339 B
Rust

// compile-pass
#![allow(unused_attributes)]
#![allow(dead_code)]
// pretty-expanded FIXME #23616
// ignore-wasm32-bare no libc to test ffi with
#![feature(rustc_private)]
#![crate_id="rust_get_test_int"]
mod rustrt {
extern crate libc;
extern {
pub fn rust_get_test_int() -> libc::intptr_t;
}
}
pub fn main() { }