Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
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
;