mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 18:23:49 +00:00
14 lines
248 B
Rust
14 lines
248 B
Rust
//@ run-pass
|
|
//@ pretty-expanded FIXME #23616
|
|
|
|
mod rustrt {
|
|
#[link(name = "rust_test_helpers", kind = "static")]
|
|
extern "C" {
|
|
pub fn rust_get_test_int() -> isize;
|
|
}
|
|
}
|
|
|
|
pub fn main() {
|
|
let _foo = rustrt::rust_get_test_int;
|
|
}
|