blob: dfe41e6145bdd433eab3a89d47aa4fa589bf58de (
plain)
1
2
3
4
5
6
7
8
9
10
|
// unit-test: ConstProp
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
// EMIT_MIR scalar_literal_propagation.main.ConstProp.diff
fn main() {
let x = 1;
consume(x);
}
#[inline(never)]
fn consume(_: u32) { }
|