rust/tests/ui/mir/mir-inlining/var-debuginfo-issue-67586.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
192 B
Rust
Raw Normal View History

// 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);
}