diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2023-09-12 16:44:53 +0000 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2023-10-21 16:20:46 +0000 |
| commit | 31d101093c134e69a31ba58893e56647a5831299 (patch) | |
| tree | b4a2819f41539f741446ecf77ee398ab9c70241a /tests/mir-opt/dataflow-const-prop/enum.statics.DataflowConstProp.32bit.diff | |
| parent | 249624b5043013d18c00f0401ca431c1a6baa8cd (diff) | |
| download | rust-31d101093c134e69a31ba58893e56647a5831299.tar.gz rust-31d101093c134e69a31ba58893e56647a5831299.zip | |
Generate ValTrees in DataflowConstProp.
Diffstat (limited to 'tests/mir-opt/dataflow-const-prop/enum.statics.DataflowConstProp.32bit.diff')
| -rw-r--r-- | tests/mir-opt/dataflow-const-prop/enum.statics.DataflowConstProp.32bit.diff | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/mir-opt/dataflow-const-prop/enum.statics.DataflowConstProp.32bit.diff b/tests/mir-opt/dataflow-const-prop/enum.statics.DataflowConstProp.32bit.diff index 1348b279330..c5c95bc6cd1 100644 --- a/tests/mir-opt/dataflow-const-prop/enum.statics.DataflowConstProp.32bit.diff +++ b/tests/mir-opt/dataflow-const-prop/enum.statics.DataflowConstProp.32bit.diff @@ -44,7 +44,8 @@ StorageLive(_1); StorageLive(_2); _2 = const {ALLOC1: &E}; - _1 = (*_2); +- _1 = (*_2); ++ _1 = const E::V1(0); StorageDead(_2); StorageLive(_3); - _4 = discriminant(_1); |
