rust/tests/ui/abi/c-stack-as-value.rs
2024-04-17 09:18:14 -04:00

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