Skip to content

Commit 73e6a21

Browse files
committed
add build-fail to 32-bit tests
1 parent 03046ab commit 73e6a21

File tree

4 files changed

+4
-2
lines changed

4 files changed

+4
-2
lines changed

src/test/ui/huge-array-simple-32.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// ignore-64bit
2+
// build-fail
23

34
// FIXME https://github.com/rust-lang/rust/issues/59774
45
// normalize-stderr-test "thread.*panicked.*Metadata module not compiled.*\n" -> ""

src/test/ui/huge-array-simple-32.stderr

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

src/test/ui/issues/issue-15919-32.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// ignore-64bit
2+
// build-fail
23

34
// FIXME https://github.com/rust-lang/rust/issues/59774
45
// normalize-stderr-test "thread.*panicked.*Metadata module not compiled.*\n" -> ""

src/test/ui/issues/issue-15919-32.stderr

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

0 commit comments

Comments
 (0)