diff options
| author | CastilloDel <delcastillodelarosadaniel@gmail.com> | 2024-04-14 11:35:37 +0200 |
|---|---|---|
| committer | CastilloDel <delcastillodelarosadaniel@gmail.com> | 2024-04-14 11:35:37 +0200 |
| commit | 853311c35811ea8a05baf97aae895b017b83cc23 (patch) | |
| tree | d6f3f99eb189e4bc8340609d8a7aa313b729deef | |
| parent | f238eba6211635d80ff0c31e7a89e2d38e528cfc (diff) | |
| download | rust-853311c35811ea8a05baf97aae895b017b83cc23.tar.gz rust-853311c35811ea8a05baf97aae895b017b83cc23.zip | |
Run filecheck on dest-prop/cycle.rs
| -rw-r--r-- | tests/mir-opt/dest-prop/cycle.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/mir-opt/dest-prop/cycle.rs b/tests/mir-opt/dest-prop/cycle.rs index e6663956d78..41d9dd81253 100644 --- a/tests/mir-opt/dest-prop/cycle.rs +++ b/tests/mir-opt/dest-prop/cycle.rs @@ -1,4 +1,3 @@ -// skip-filecheck // EMIT_MIR_FOR_EACH_PANIC_STRATEGY //! Tests that cyclic assignments don't hang DestinationPropagation, and result in reasonable code. //@ unit-test: DestinationPropagation @@ -8,6 +7,10 @@ fn val() -> i32 { // EMIT_MIR cycle.main.DestinationPropagation.diff fn main() { + // CHECK-LABEL: main( + // CHECK: debug x => [[x:_.*]]; + // CHECK: [[x]] = val() + // CHECK-NOT: [[x]] = {{_.*}}; let mut x = val(); let y = x; let z = y; |
