diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2023-12-02 20:49:28 +0000 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2023-12-02 20:49:28 +0000 |
| commit | ea9f9683335f0edf4cbafe5b1ebe663c1864ea54 (patch) | |
| tree | 7a55f678566feda6bc7c63aad824d9d47062afb4 | |
| parent | 902a3e2e7540019337dcbba0f4aa160a6b0495b3 (diff) | |
| download | rust-ea9f9683335f0edf4cbafe5b1ebe663c1864ea54.tar.gz rust-ea9f9683335f0edf4cbafe5b1ebe663c1864ea54.zip | |
FileCheck mutable_variable.
| -rw-r--r-- | tests/mir-opt/const_prop/mutable_variable.rs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/mir-opt/const_prop/mutable_variable.rs b/tests/mir-opt/const_prop/mutable_variable.rs index 175d63d46f5..6c74ea5b9f4 100644 --- a/tests/mir-opt/const_prop/mutable_variable.rs +++ b/tests/mir-opt/const_prop/mutable_variable.rs @@ -1,8 +1,13 @@ -// skip-filecheck // unit-test: ConstProp // EMIT_MIR mutable_variable.main.ConstProp.diff fn main() { + // CHECK-LABEL: fn main( + // CHECK: debug x => [[x:_.*]]; + // CHECK: debug y => [[y:_.*]]; + // CHECK: [[x]] = const 42_i32; + // CHECK: [[x]] = const 99_i32; + // CHECK: [[y]] = const 99_i32; let mut x = 42; x = 99; let y = x; |
