2020-02-03 11:42:39 -06:00
|
|
|
// run-pass
|
2021-03-04 07:35:11 -06:00
|
|
|
// compile-flags: -Z mir-opt-level=3 -C opt-level=0 -C debuginfo=2
|
2020-02-03 11:42:39 -06:00
|
|
|
|
|
|
|
#[inline(never)]
|
|
|
|
pub fn foo(bar: usize) -> usize {
|
|
|
|
std::convert::identity(bar)
|
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
foo(0);
|
|
|
|
}
|