rust/tests/mir-opt/inline/inline_into_box_place.rs

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

12 lines
393 B
Rust
Raw Normal View History

// 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
2020-07-27 21:22:43 +02:00
// EMIT_MIR inline_into_box_place.main.Inline.diff
fn main() {
2023-10-20 20:33:22 -07:00
// CHECK-LABEL: fn main(
// CHECK: (inlined Box::<Vec<u32>>::new)
let _x: Box<Vec<u32>> = Box::new(Vec::new());
}