rust/tests/ui/abi/anon-extern-mod.rs
2024-04-17 09:18:14 -04:00

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();
}
}