rust/src/test/ui/huge-array-simple.rs
2018-12-25 21:08:33 -07:00

12 lines
296 B
Rust

// FIXME (#23926): the error output is not consistent between a
// self-hosted and a cross-compiled setup. Skipping for now.
// ignore-test FIXME(#23926)
#![allow(exceeding_bitshifts)]
fn main() {
let _fat : [u8; (1<<61)+(1<<31)] =
[0; (1u64<<61) as usize +(1u64<<31) as usize];
}