mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 08:13:41 +00:00
11 lines
217 B
Rust
11 lines
217 B
Rust
//@ compile-flags:-Zprint-mono-items=lazy
|
|
|
|
#![deny(dead_code)]
|
|
#![crate_type = "rlib"]
|
|
|
|
//~ MONO_ITEM fn foo @@ unreferenced_const_fn-cgu.0[External]
|
|
#[inline(never)]
|
|
pub const fn foo(x: u32) -> u32 {
|
|
x + 0xf00
|
|
}
|