summaryrefslogtreecommitdiffstats
path: root/tests/ui/mir/mir-inlining/var-debuginfo-issue-67586.rs
blob: e2620682679b2cf99455d1f8f6194933b685a06f (plain)
1
2
3
4
5
6
7
8
9
10
11
// 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);
}