summaryrefslogtreecommitdiffstats
path: root/src/test/mir-opt/derefer_inline_test.rs
blob: 191a8cbbef40a521955d12c538cbcf143fc26aa7 (plain)
1
2
3
4
5
6
7
8
9
10
11
// EMIT_MIR derefer_inline_test.main.Derefer.diff
// ignore-wasm32 compiled with panic=abort by default

#![feature(box_syntax)]
#[inline]
fn f() -> Box<u32> {
    box 0
}
fn main() {
    box f();
}