Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea9f968 commit 03c5ad1Copy full SHA for 03c5ad1
tests/mir-opt/const_prop/mutable_variable_aggregate.rs
@@ -1,8 +1,13 @@
1
-// skip-filecheck
2
// unit-test: ConstProp
3
4
// EMIT_MIR mutable_variable_aggregate.main.ConstProp.diff
5
fn main() {
+ // CHECK-LABEL: fn main(
6
+ // CHECK: debug x => [[x:_.*]];
7
+ // CHECK: debug y => [[y:_.*]];
8
+ // CHECK: [[x]] = const (42_i32, 43_i32);
9
+ // CHECK: ([[x]].1: i32) = const 99_i32;
10
+ // CHECK: [[y]] = const (42_i32, 99_i32);
11
let mut x = (42, 43);
12
x.1 = 99;
13
let y = x;
0 commit comments