]> git.lizzy.rs Git - rust.git/blob - src/test/ui/huge-array-simple-32.rs
Merge commit '3e7c6dec244539970b593824334876f8b6ed0b18' into clippyup
[rust.git] / src / test / ui / huge-array-simple-32.rs
1 // ignore-64bit
2 // build-fail
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<<31)+(1<<15)] = //~ ERROR too big for the current architecture
11         [0; (1u32<<31) as usize +(1u32<<15) as usize];
12 }