Skip to content

Commit 2be1993

Browse files
committed
Ignore test on 32-bit architectures
1 parent a7b7a43 commit 2be1993

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/test/ui/consts/issue-79690.rs

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// ignore-32bit
2+
// This test gives a different error on 32-bit architectures.
3+
14
union Transmute<T: Copy, U: Copy> {
25
t: T,
36
u: U,

src/test/ui/consts/issue-79690.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0080]: it is undefined behavior to use this value
2-
--> $DIR/issue-79690.rs:26:1
2+
--> $DIR/issue-79690.rs:29:1
33
|
44
LL | const G: Fat = unsafe { Transmute { t: FOO }.u };
55
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ type validation failed: encountered read of part of a pointer at .1.<deref>.size.foo

0 commit comments

Comments
 (0)