Skip to content

Commit c00068e

Browse files
committed
FileCheck tuple_literal_propagation.
1 parent 87522d0 commit c00068e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/mir-opt/const_prop/tuple_literal_propagation.rs

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
// skip-filecheck
21
// unit-test: ConstProp
32
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
43
// EMIT_MIR tuple_literal_propagation.main.ConstProp.diff
4+
55
fn main() {
6+
// CHECK-LABEL: fn main(
7+
// CHECK: = consume(const (1_u32, 2_u32))
68
let x = (1, 2);
7-
89
consume(x);
910
}
1011

0 commit comments

Comments
 (0)