FileCheck scalar_literal_propagation.

This commit is contained in:
Camille GILLOT 2023-12-02 21:02:42 +00:00
parent f3743aec51
commit 3e90c1b434

View File

@ -1,8 +1,10 @@
// skip-filecheck
// unit-test: ConstProp
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
// EMIT_MIR scalar_literal_propagation.main.ConstProp.diff
fn main() {
// CHECK-LABEL: fn main(
// CHECK: = consume(const 1_u32)
let x = 1;
consume(x);
}