Sign in
fuchsia
/
third_party
/
rust
/
9ae1a664f7b947dadb9e97eea7703831d9cd5d31
/
.
/
src
/
test
/
ui
/
issues
/
issue-14227.rs
blob: 5de3867f95c224b90f9803b731a9f51b7e1c1acf [
file
] [
log
] [
blame
]
#![
allow
(
safe_extern_statics
,
warnings
)]
extern
{
pub
static
symbol
:
u32
;
}
static
CRASH
:
u32
=
symbol
;
//~^ ERROR could not evaluate static initializer
//~| tried to read from foreign (extern) static
fn
main
()
{}