Sign in
fuchsia
/
third_party
/
rust
/
9ae1a664f7b947dadb9e97eea7703831d9cd5d31
/
.
/
src
/
test
/
ui
/
issues
/
issue-52023-array-size-pointer-cast.rs
blob: d12b483ba44734543f64ebc7c036e09c3cb7fcdc [
file
] [
log
] [
blame
]
fn
main
()
{
let
_
=
[
0
;
(&
0
as
*
const
i32
)
as
usize
];
//~ ERROR casting pointers to integers in constants
//~^ ERROR evaluation of constant value failed
}