]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui/crashes/ice-1588.rs
Auto merge of #71815 - Mark-Simulacrum:no-llvm-rebuild, r=jonas-schievink
[rust.git] / src / tools / clippy / tests / ui / crashes / ice-1588.rs
1 // run-pass
2
3 #![allow(clippy::all)]
4
5 /// Test for https://github.com/rust-lang/rust-clippy/issues/1588
6
7 fn main() {
8     match 1 {
9         1 => {},
10         2 => {
11             [0; 1];
12         },
13         _ => {},
14     }
15 }