]>
Commit | Line | Data |
---|---|---|
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 | |
9 | fn 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 | } |