rust/tests/ui/consts/large-zst-array-77062.rs

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

7 lines
114 B
Rust
Raw Normal View History

2020-10-21 00:55:37 +00:00
//@ build-pass
2024-10-07 10:28:16 +00:00
pub static FOO: [(); usize::MAX] = [(); usize::MAX];
2020-10-21 00:55:37 +00:00
fn main() {
let _ = &[(); usize::MAX];
}