Skip to content

Commit

Permalink
FileCheck tuple_literal_propagation.
Browse files Browse the repository at this point in the history
  • Loading branch information
cjgillot committed Dec 2, 2023
1 parent 87522d0 commit c00068e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/mir-opt/const_prop/tuple_literal_propagation.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
// skip-filecheck
// unit-test: ConstProp
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
// EMIT_MIR tuple_literal_propagation.main.ConstProp.diff

fn main() {
// CHECK-LABEL: fn main(
// CHECK: = consume(const (1_u32, 2_u32))
let x = (1, 2);

consume(x);
}

Expand Down

0 comments on commit c00068e

Please sign in to comment.