mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 02:33:55 +00:00
14 lines
227 B
Rust
14 lines
227 B
Rust
//@ run-pass
|
|
//@ pretty-expanded FIXME #23616
|
|
|
|
#[link(name = "rust_test_helpers", kind = "static")]
|
|
extern "C" {
|
|
fn rust_get_test_int() -> isize;
|
|
}
|
|
|
|
pub fn main() {
|
|
unsafe {
|
|
let _ = rust_get_test_int();
|
|
}
|
|
}
|