rust/tests/ui/repeat-expr/repeat-expr-in-static.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
135 B
Rust
Raw Normal View History

// run-pass
static FOO: [isize; 4] = [32; 4];
static BAR: [isize; 4] = [32, 32, 32, 32];
2013-08-12 20:15:19 -05:00
pub fn main() {
assert_eq!(FOO, BAR);
2013-08-12 20:15:19 -05:00
}