rust/tests/codegen-units/item-collection/unreferenced-inline-function.rs

12 lines
215 B
Rust
Raw Normal View History

2018-05-08 08:10:16 -05:00
// 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]
}