mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-13 00:56:14 +00:00
433da1fc04
They pass fine.
13 lines
188 B
Rust
13 lines
188 B
Rust
#![crate_type="staticlib"]
|
|
|
|
#[no_mangle]
|
|
pub extern "C" fn rust_always_inlined() -> u32 {
|
|
42
|
|
}
|
|
|
|
#[no_mangle]
|
|
#[inline(never)]
|
|
pub extern "C" fn rust_never_inlined() -> u32 {
|
|
421
|
|
}
|