rust/tests/ui/inline-const/const-expr-array-init.rs

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

8 lines
95 B
Rust
Raw Normal View History

2020-10-06 15:53:12 -05:00
//@ build-pass
use std::cell::Cell;
fn main() {
let _x = [const { Cell::new(0) }; 20];
}