summaryrefslogtreecommitdiffstats
path: root/tests/ui/repeat-expr/repeat-expr-in-static.rs
blob: 0b8953793307a8a82c83f664faab1112d2cdc7d1 (plain)
1
2
3
4
5
6
7
8
// run-pass

static FOO: [isize; 4] = [32; 4];
static BAR: [isize; 4] = [32, 32, 32, 32];

pub fn main() {
    assert_eq!(FOO, BAR);
}