Sign in
fuchsia
/
third_party
/
rust
/
cfcc5c296ed6fabcc8b9d380eaaea8a7352299fd
/
.
/
src
/
test
/
ui
/
consts
/
int_ptr_for_zst_slices.rs
blob: 34dafd00d28dc8e85fe85febc058825f0c5f8024 [
file
] [
log
] [
blame
]
// build-pass (FIXME(62277): could be check-pass?)
#![
feature
(
const_raw_ptr_deref
)]
const
FOO
:
&
str
=
unsafe
{
&*(
1
_usize
as
*
const
[
u8
;
0
]
as
*
const
[
u8
]
as
*
const
str
)
};
fn
main
()
{}