rust/tests/ui/abi/c-stack-as-value.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
248 B
Rust
Raw Normal View History

//@ run-pass
//@ pretty-expanded FIXME #23616
mod rustrt {
2016-11-23 18:09:51 -06:00
#[link(name = "rust_test_helpers", kind = "static")]
2020-09-01 16:12:52 -05:00
extern "C" {
pub fn rust_get_test_int() -> isize;
}
}
pub fn main() {
2013-08-17 10:37:42 -05:00
let _foo = rustrt::rust_get_test_int;
}