Sign in
android
/
toolchain
/
rustc
/
43f0694b1feb1296004d84509e01177159e71be0
/
.
/
src
/
test
/
ui
/
inference
/
inference-variable-behind-raw-pointer.rs
blob: a90b268db8c95d11e32835d81d4897525b0bd0b1 [
file
] [
log
] [
blame
]
// build-pass (FIXME(62277): could be check-pass?)
// tests that the following code compiles, but produces a future-compatibility warning
fn
main
()
{
let
data
=
std
::
ptr
::
null
();
let
_
=
&
data
as
*
const
*
const
();
if
data
.
is_null
()
{}
}