rust/tests/codegen-units/item-collection/unreferenced-inline-function.rs
2023-01-11 09:32:08 +00:00

12 lines
215 B
Rust

// compile-flags:-Zprint-mono-items=lazy
// N.B., we do not expect *any* monomorphization to be generated here.
#![deny(dead_code)]
#![crate_type = "rlib"]
#[inline]
pub fn foo() -> bool {
[1, 2] == [3, 4]
}