]> git.lizzy.rs Git - rust.git/blob - src/test/ui/limits/huge-array-simple-64.rs
Rollup merge of #95534 - jyn514:std-mem-copy, r=joshtriplett
[rust.git] / src / test / ui / limits / huge-array-simple-64.rs
1 // build-fail
2 // ignore-32bit
3
4 // FIXME https://github.com/rust-lang/rust/issues/59774
5 // normalize-stderr-test "thread.*panicked.*Metadata module not compiled.*\n" -> ""
6 // normalize-stderr-test "note:.*RUST_BACKTRACE=1.*\n" -> ""
7 #![allow(arithmetic_overflow)]
8
9 fn main() {
10     let _fat: [u8; (1<<61)+(1<<31)] = //~ ERROR too big for the current architecture
11         [0; (1u64<<61) as usize +(1u64<<31) as usize];
12 }