2019-08-06 11:23:32 -07:00
|
|
|
// ignore-64bit
|
2019-12-21 22:33:36 +01:00
|
|
|
// build-fail
|
2019-08-04 21:18:05 -07:00
|
|
|
|
2020-02-19 20:12:01 +01:00
|
|
|
#![allow(arithmetic_overflow)]
|
2019-08-04 21:18:05 -07:00
|
|
|
|
|
|
|
fn main() {
|
2019-08-06 11:23:32 -07:00
|
|
|
let _fat: [u8; (1<<31)+(1<<15)] = //~ ERROR too big for the current architecture
|
|
|
|
[0; (1u32<<31) as usize +(1u32<<15) as usize];
|
2019-08-04 21:18:05 -07:00
|
|
|
}
|