]> git.proxmox.com Git - rustc.git/blame - src/tools/clippy/tests/ui/crashes/ice-1588.rs
Update upstream source from tag 'upstream/1.52.1+dfsg1'
[rustc.git] / src / tools / clippy / tests / ui / crashes / ice-1588.rs
CommitLineData
f20569fa
XL
1#![allow(clippy::all)]
2
3/// Test for https://github.com/rust-lang/rust-clippy/issues/1588
4
5fn main() {
6 match 1 {
7 1 => {},
8 2 => {
9 [0; 1];
10 },
11 _ => {},
12 }
13}