about summary refs log tree commit diff
path: root/src/test/ui/consts/huge-values.rs
blob: ab09922d7614ae470fd0f6eca0c6e9606dc23ea3 (plain)
1
2
3
4
5
6
7
8
9
10
11
// build-pass
// ignore-32bit

#[derive(Clone, Copy)]
struct Foo;

fn main() {
    let _ = [(); 4_000_000_000];
    let _ = [0u8; 4_000_000_000];
    let _ = [Foo; 4_000_000_000];
}