]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui/crashes/ice-1588.rs
Auto merge of #107843 - bjorn3:sync_cg_clif-2023-02-09, r=bjorn3
[rust.git] / src / tools / clippy / tests / ui / crashes / ice-1588.rs
1 #![allow(clippy::all)]
2
3 /// Test for https://github.com/rust-lang/rust-clippy/issues/1588
4
5 fn main() {
6     match 1 {
7         1 => {},
8         2 => {
9             [0; 1];
10         },
11         _ => {},
12     }
13 }