]> git.lizzy.rs Git - rust.git/blob - tests/ui/limits/issue-15919-64.rs
Rollup merge of #106946 - dtolnay:hashlinecolumn, r=m-ou-se
[rust.git] / tests / ui / limits / issue-15919-64.rs
1 // build-fail
2 // ignore-32bit
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" -> ""
7
8 fn main() {
9     let x = [0usize; 0xffff_ffff_ffff_ffff]; //~ ERROR too big
10 }
11
12 // This and the -32 version of this test need to have different literals, as we can't rely on
13 // conditional compilation for them while retaining the same spans/lines.