Skip to content

Commit 3328d98

Browse files
committed
Run filecheck on dest-prop/cycle.rs
1 parent df5e449 commit 3328d98

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/mir-opt/dest-prop/cycle.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// skip-filecheck
21
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
32
//! Tests that cyclic assignments don't hang DestinationPropagation, and result in reasonable code.
43
//@ unit-test: DestinationPropagation
@@ -8,6 +7,8 @@ fn val() -> i32 {
87

98
// EMIT_MIR cycle.main.DestinationPropagation.diff
109
fn main() {
10+
// CHECK-LABEL: main
11+
// CHECK-NOT: {{_.*}} = {{_.*}}
1112
let mut x = val();
1213
let y = x;
1314
let z = y;

0 commit comments

Comments
 (0)