summary refs log tree commit diff
path: root/src/test/codegen-units/item-collection/unreferenced-inline-function.rs
blob: 4c8d1215c0425ae87e6a2a8fa399f597fc1b0fe9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// ignore-tidy-linelength
// 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]
}