Sign in
android
/
toolchain
/
rustc
/
ff3f07ae99a30006dd85b9d73084edd9355c9db6
/
.
/
src
/
test
/
ui
/
issues
/
issue-47789.rs
blob: d15a27a2a2e65510f52bd47223f79fd738595f6a [
file
] [
log
] [
blame
]
// compile-pass
#![
allow
(
dead_code
)]
#![
allow
(
non_upper_case_globals
)]
#![
feature
(
nll
)]
static
mut
x
:
&
'
static
u32
=
&
0
;
fn
foo
()
{
unsafe
{
x
=
&
1
;
}
}
fn
main
()
{
}