summaryrefslogtreecommitdiffstats
path: root/tests/codegen-units/item-collection/unreferenced-inline-function.rs
blob: 4d095e4d6c7e99753222ec0cc3a01ddc58583196 (plain)
1
2
3
4
5
6
7
8
9
10
11
// 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]
}