rust/tests/ui/inline-const/const-expr-array-init.rs
2024-04-24 13:12:33 +01:00

8 lines
95 B
Rust

//@ build-pass
use std::cell::Cell;
fn main() {
let _x = [const { Cell::new(0) }; 20];
}