Sign in
fuchsia
/
third_party
/
rust
/
3c2fd1a72d2e8cc80b354b4d2dd7931a7afe1b02
/
.
/
src
/
test
/
ui
/
consts
/
dangling_raw_ptr.rs
blob: c2d8e6d421a2876346286962f7b620bc946114ed [
file
] [
log
] [
blame
]
const
FOO
:
*
const
u32
=
{
//~ ERROR any use of this value will cause an error
let
x
=
42
;
&
x
};
fn
main
()
{
let
x
=
FOO
;
}