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