2018-05-08 08:10:16 -05:00
|
|
|
// compile-flags:-Zprint-mono-items=lazy
|
2017-10-27 07:32:26 -05:00
|
|
|
|
|
|
|
#![deny(dead_code)]
|
|
|
|
#![crate_type = "rlib"]
|
|
|
|
|
2020-08-28 08:31:03 -05:00
|
|
|
//~ MONO_ITEM fn foo @@ unreferenced_const_fn-cgu.0[External]
|
2017-10-27 07:32:26 -05:00
|
|
|
pub const fn foo(x: u32) -> u32 {
|
|
|
|
x + 0xf00
|
|
|
|
}
|