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/struct.rs | |
| parent | 249624b5043013d18c00f0401ca431c1a6baa8cd (diff) | |
| download | rust-31d101093c134e69a31ba58893e56647a5831299.tar.gz rust-31d101093c134e69a31ba58893e56647a5831299.zip | |
Generate ValTrees in DataflowConstProp.
Diffstat (limited to 'tests/mir-opt/dataflow-const-prop/struct.rs')
| -rw-r--r-- | tests/mir-opt/dataflow-const-prop/struct.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/mir-opt/dataflow-const-prop/struct.rs b/tests/mir-opt/dataflow-const-prop/struct.rs index 7b0646a5356..5c6edeb3866 100644 --- a/tests/mir-opt/dataflow-const-prop/struct.rs +++ b/tests/mir-opt/dataflow-const-prop/struct.rs @@ -20,4 +20,6 @@ fn main() { static STAT: &BigStruct = &BigStruct(S(1), 5, 7., S(13)); let BigStruct(a, b, c, d) = *STAT; + + let bs = BigStruct(a, b, c, d); } |
