2019-06-12 16:20:22 +03:00
|
|
|
//@ revisions:cfail1 cfail2
|
2019-06-12 18:18:32 +03:00
|
|
|
//@ check-pass
|
2019-05-14 14:19:46 +02:00
|
|
|
//@ compile-flags: --crate-type cdylib
|
|
|
|
|
|
|
|
#![deny(unused_attributes)]
|
|
|
|
|
|
|
|
#[no_mangle]
|
|
|
|
pub extern "C" fn rust_no_mangle() -> i32 {
|
|
|
|
42
|
|
|
|
}
|