Skip to content

Commit 853311c

Browse files
committed
Run filecheck on dest-prop/cycle.rs
1 parent f238eba commit 853311c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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

+4-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,10 @@ fn val() -> i32 {
87

98
// EMIT_MIR cycle.main.DestinationPropagation.diff
109
fn main() {
10+
// CHECK-LABEL: main(
11+
// CHECK: debug x => [[x:_.*]];
12+
// CHECK: [[x]] = val()
13+
// CHECK-NOT: [[x]] = {{_.*}};
1114
let mut x = val();
1215
let y = x;
1316
let z = y;

0 commit comments

Comments
 (0)