]> git.lizzy.rs Git - rust.git/blob - src/test/ui/huge-array-simple-64.rs
Simplify Cache wrapper to single type, impl Deref on it, fix all compilation errors...
[rust.git] / src / test / ui / huge-array-simple-64.rs
1 // ignore-32bit
2
3 // FIXME https://github.com/rust-lang/rust/issues/59774
4 // normalize-stderr-test "thread.*panicked.*Metadata module not compiled.*\n" -> ""
5 // normalize-stderr-test "note:.*RUST_BACKTRACE=1.*\n" -> ""
6 #![allow(exceeding_bitshifts)]
7
8 fn main() {
9     let _fat: [u8; (1<<61)+(1<<31)] = //~ ERROR too big for the current architecture
10         [0; (1u64<<61) as usize +(1u64<<31) as usize];
11 }