FileCheck tuple_literal_propagation.

This commit is contained in:
Camille GILLOT 2023-12-02 21:08:55 +00:00
parent 87522d0007
commit c00068e49f

View File

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