rust/src/test/ui/huge-array-simple.rs

12 lines
296 B
Rust
Raw Normal View History

// 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)]
2014-10-14 17:53:37 -05:00
fn main() {
let _fat : [u8; (1<<61)+(1<<31)] =
[0; (1u64<<61) as usize +(1u64<<31) as usize];
2014-10-14 17:53:37 -05:00
}