12 lines
393 B
Rust
12 lines
393 B
Rust
// 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());
|
|
}
|