]>
Commit | Line | Data |
---|---|---|
e74abb32 XL |
1 | // compile-flags: -O |
2 | // ignore-emscripten compiled with panic=abort by default | |
3 | // ignore-wasm32 | |
4 | // ignore-wasm64 | |
5 | ||
6 | #![feature(box_syntax)] | |
7 | ||
8 | // Note: this test verifies that we, in fact, do not const prop `box` | |
9 | ||
ba9703b0 | 10 | // EMIT_MIR rustc.main.ConstProp.diff |
e74abb32 XL |
11 | fn main() { |
12 | let x = *(box 42) + 0; | |
13 | } |