]> git.proxmox.com Git - rustc.git/blame - src/test/ui/huge-array-simple-64.rs
New upstream version 1.51.0+dfsg1
[rustc.git] / src / test / ui / huge-array-simple-64.rs
CommitLineData
dfeec247 1// build-fail
416331ca
XL
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" -> ""
74b04a01 7#![allow(arithmetic_overflow)]
416331ca
XL
8
9fn 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}