diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2023-03-20 21:37:36 +0000 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2024-01-16 22:20:53 +0000 |
| commit | 666030c51b87509a065867f99bf7317a5486470a (patch) | |
| tree | dae7345129d87e308dde99c027cbce19e3e74715 /tests/mir-opt/const_prop/boxes.rs | |
| parent | 92f2e0aa62113a5f31076a9414daca55722556cf (diff) | |
| download | rust-666030c51b87509a065867f99bf7317a5486470a.tar.gz rust-666030c51b87509a065867f99bf7317a5486470a.zip | |
Simplify binary ops.
Diffstat (limited to 'tests/mir-opt/const_prop/boxes.rs')
| -rw-r--r-- | tests/mir-opt/const_prop/boxes.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/mir-opt/const_prop/boxes.rs b/tests/mir-opt/const_prop/boxes.rs index 5227d7b8b8b..d2d61f86d5e 100644 --- a/tests/mir-opt/const_prop/boxes.rs +++ b/tests/mir-opt/const_prop/boxes.rs @@ -12,7 +12,7 @@ fn main() { // CHECK: debug x => [[x:_.*]]; // CHECK: (*{{_.*}}) = const 42_i32; // CHECK: [[tmp:_.*]] = (*{{_.*}}); - // CHECK: [[x]] = Add(move [[tmp]], const 0_i32); + // CHECK: [[x]] = [[tmp]]; let x = *(#[rustc_box] Box::new(42)) + 0; |
