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