mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-04 12:44:40 +00:00
12 lines
194 B
Rust
12 lines
194 B
Rust
//@ run-pass
|
|
//@ compile-flags: -Z mir-opt-level=3 -C opt-level=0 -C debuginfo=2
|
|
|
|
#[inline(never)]
|
|
pub fn foo(bar: usize) -> usize {
|
|
std::convert::identity(bar)
|
|
}
|
|
|
|
fn main() {
|
|
foo(0);
|
|
}
|