rust/tests/fail/type-too-large.rs
2022-06-01 10:53:38 -04:00

7 lines
162 B
Rust

// ignore-32bit
fn main() {
let _fat: [u8; (1<<61)+(1<<31)] =
[0; (1u64<<61) as usize +(1u64<<31) as usize]; //~ ERROR post-monomorphization error
}