rust/tests/incremental/no_mangle.rs

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

11 lines
175 B
Rust
Raw Normal View History

// revisions:cfail1 cfail2
2019-06-12 15:18:32 +00:00
// check-pass
// compile-flags: --crate-type cdylib
#![deny(unused_attributes)]
#[no_mangle]
pub extern "C" fn rust_no_mangle() -> i32 {
42
}