add build-fail to 32-bit tests

This commit is contained in:
Mazdak Farrokhzad 2019-12-21 22:33:36 +01:00
parent 03046abbd0
commit 73e6a2174a
4 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,5 @@
// ignore-64bit
// build-fail
// FIXME https://github.com/rust-lang/rust/issues/59774
// normalize-stderr-test "thread.*panicked.*Metadata module not compiled.*\n" -> ""

View File

@ -1,5 +1,5 @@
error: the type `[u8; 2147516416]` is too big for the current architecture
--> $DIR/huge-array-simple-32.rs:9:9
--> $DIR/huge-array-simple-32.rs:10:9
|
LL | let _fat: [u8; (1<<31)+(1<<15)] =
| ^^^^

View File

@ -1,4 +1,5 @@
// ignore-64bit
// build-fail
// FIXME https://github.com/rust-lang/rust/issues/59774
// normalize-stderr-test "thread.*panicked.*Metadata module not compiled.*\n" -> ""

View File

@ -1,5 +1,5 @@
error: the type `[usize; 4294967295]` is too big for the current architecture
--> $DIR/issue-15919-32.rs:8:9
--> $DIR/issue-15919-32.rs:9:9
|
LL | let x = [0usize; 0xffff_ffff];
| ^