We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df5e449 commit 3328d98Copy full SHA for 3328d98
tests/mir-opt/dest-prop/cycle.rs
@@ -1,4 +1,3 @@
1
-// skip-filecheck
2
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
3
//! Tests that cyclic assignments don't hang DestinationPropagation, and result in reasonable code.
4
//@ unit-test: DestinationPropagation
@@ -8,6 +7,8 @@ fn val() -> i32 {
8
7
9
// EMIT_MIR cycle.main.DestinationPropagation.diff
10
fn main() {
+ // CHECK-LABEL: main
11
+ // CHECK-NOT: {{_.*}} = {{_.*}}
12
let mut x = val();
13
let y = x;
14
let z = y;
0 commit comments