rust-clippy/tests/run-pass/ice-1588.rs

14 lines
169 B
Rust
Raw Normal View History

2017-03-03 13:46:33 +00:00
#![feature(plugin)]
#![plugin(clippy)]
#![allow(clippy)]
fn main() {
match 1 {
1 => {}
2 => {
[0; 1];
}
_ => {}
}
}