Sign in
android
/
toolchain
/
rustc
/
89a0a0cd9cbd0a0138a09bd877bbc73859a8c330
/
.
/
src
/
test
/
rustdoc
/
const-evalutation-ice.rs
blob: 68c7f9c5686ff359f84dcf82655a781c8d14e44c [
file
] [
log
] [
blame
]
// Just check we don't get an ICE for `N`.
use
std
::
cell
::
Cell
;
use
std
::
mem
;
pub
struct
S
{
s
:
Cell
<
usize
>
}
pub
const
N
:
usize
=
0
-
(
mem
::
size_of
::<
S
>()
!=
4
)
as
usize
;