summaryrefslogtreecommitdiffstats
path: root/tests/mir-opt/inline/inline_into_box_place.rs
blob: 65f8e2916b6308bca0bde43eb01e5a4f13d93b3d (plain)
1
2
3
4
5
6
7
8
9
10
11
// ignore-endian-big
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
// ignore-debug MIR alignment checks in std alter the diff, breaking the test
// compile-flags: -Zmir-opt-level=4 -Zinline-mir-hint-threshold=200

// EMIT_MIR inline_into_box_place.main.Inline.diff
fn main() {
    // CHECK-LABEL: fn main(
    // CHECK: (inlined Box::<Vec<u32>>::new)
    let _x: Box<Vec<u32>> = Box::new(Vec::new());
}