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

10 lines
173 B
Rust
Raw Permalink Normal View History

// 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]
}