mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
12 lines
192 B
Rust
12 lines
192 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);
|
|
}
|