]> git.proxmox.com Git - rustc.git/blame - src/test/ui/limits/huge-array-simple-32.rs
Merge tag 'debian/1.52.1+dfsg1-1_exp2' into proxmox/buster
[rustc.git] / src / test / ui / limits / huge-array-simple-32.rs
CommitLineData
416331ca 1// ignore-64bit
dfeec247 2// build-fail
416331ca
XL
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" -> ""
74b04a01 7#![allow(arithmetic_overflow)]
416331ca
XL
8
9fn 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}