Sign in
fuchsia
/
third_party
/
rust
/
aeb32f01b674e383d240b3a173d6d9bc29c7a6ad
/
.
/
src
/
test
/
ui
/
issues
/
issue-47789.rs
blob: 28671db09982fc5a54d764b92e0bcbe7b7172e56 [
file
] [
log
] [
blame
]
// build-pass (FIXME(62277): could be check-pass?)
#![
allow
(
non_upper_case_globals
)]
static
mut
x
:
&
'
static
u32
=
&
0
;
fn
foo
()
{
unsafe
{
x
=
&
1
;
}
}
fn
main
()
{
}