about summary refs log tree commit diff
path: root/tests/codegen-units/item-collection/unreferenced-inline-function.rs
blob: 22d34adfbeee182947a48fb5932781f43acb6a9c (plain)
1
2
3
4
5
6
7
8
9
// 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]
}