os-rust/tests/ui/extern/issue-1251.rs

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

13 lines
200 B
Rust
Raw Normal View History

//@ build-pass
#![allow(unused_attributes)]
#![allow(dead_code)]
//@ pretty-expanded FIXME #23616
mod rustrt {
2020-09-01 17:12:52 -04:00
extern "C" {
pub fn rust_get_test_int() -> isize;
}
}
2020-09-01 17:12:52 -04:00
pub fn main() {}