Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
src
/
tools
/
clippy
/
tests
/
ui
/
crashes
/
ice-12616.rs
blob: 6ee9a5ec08fe99319e1191439e4e11b60b2ee0ee [
file
] [
log
] [
blame
]
#![
warn
(
clippy
::
ptr_as_ptr
)]
#![
allow
(
clippy
::
unnecessary_operation
,
clippy
::
unnecessary_cast
)]
fn
main
()
{
let
s
=
std
::
ptr
::
null
::<()>;
s
()
as
*
const
();
}