diff options
| author | Scott McMurray <scottmcm@users.noreply.github.com> | 2024-08-18 15:51:53 -0700 |
|---|---|---|
| committer | Scott McMurray <scottmcm@users.noreply.github.com> | 2024-08-18 15:52:23 -0700 |
| commit | 249a36ffbd577fc76153b7ad4cafd33607ee4ddc (patch) | |
| tree | a79891cc428f6fd30a100242fae5066dee0c4533 /tests/mir-opt/dataflow-const-prop/array_index.rs | |
| parent | 32185decd6875d5a86374043c7cfa77682b98ba3 (diff) | |
| download | rust-249a36ffbd577fc76153b7ad4cafd33607ee4ddc.tar.gz rust-249a36ffbd577fc76153b7ad4cafd33607ee4ddc.zip | |
Update mir-opt filechecks
Diffstat (limited to 'tests/mir-opt/dataflow-const-prop/array_index.rs')
| -rw-r--r-- | tests/mir-opt/dataflow-const-prop/array_index.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/mir-opt/dataflow-const-prop/array_index.rs b/tests/mir-opt/dataflow-const-prop/array_index.rs index daf9c7729c6..e442ef99f79 100644 --- a/tests/mir-opt/dataflow-const-prop/array_index.rs +++ b/tests/mir-opt/dataflow-const-prop/array_index.rs @@ -16,6 +16,6 @@ fn main() { // CHECK: {{_.*}} = const 4_usize; // CHECK: {{_.*}} = const true; // CHECK: assert(const true - // CHECK: [[x]] = [[array_lit]][2 of 3]; + // CHECK: [[x]] = copy [[array_lit]][2 of 3]; let x: u32 = [0, 1, 2, 3][2]; } |
