FileCheck tuple_literal_propagation. · rust-lang/rust@c00068e (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Commit c00068e

FileCheck tuple_literal_propagation.

File tree

1 file changed

lines changed

1 file changed

lines changed

Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
1 -// skip-filecheck
2 1 // unit-test: ConstProp
3 2 // EMIT_MIR_FOR_EACH_PANIC_STRATEGY
4 3 // EMIT_MIR tuple_literal_propagation.main.ConstProp.diff
4 +
5 5 fn main() {
6 +// CHECK-LABEL: fn main(
7 +// CHECK: = consume(const (1_u32, 2_u32))
6 8 let x = (1, 2);
7 -
8 9 consume(x);
9 10 }
10 11