summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/crashes/ice-7340.rs
blob: 7d2351d606f138ffe11e37fdde7e208ccd17279f (plain)
1
2
3
4
5
6
#![allow(clippy::no_effect)]

fn main() {
    const CONSTANT: usize = 8;
    [1; 1 % CONSTANT];
}