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

15 lines
313 B
Rust
Raw Normal View History

2022-07-26 19:04:27 +02:00
// unit-test: ConstProp
2019-09-15 12:03:52 -04:00
// compile-flags: -O
// ignore-emscripten compiled with panic=abort by default
// ignore-wasm32
// ignore-wasm64
#![feature(box_syntax)]
// Note: this test verifies that we, in fact, do not const prop `box`
2020-07-27 21:22:43 +02:00
// EMIT_MIR boxes.main.ConstProp.diff
2019-09-15 12:03:52 -04:00
fn main() {
let x = *(box 42) + 0;
}