Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
extern
/
issue-36122-accessing-externed-dst.rs
blob: 9fb7780e3d7693f557bef28fcb803a6d47e21ff2 [
file
] [
log
] [
blame
] [
edit
]
fn
main
()
{
extern
"C"
{
static
symbol
:
[
usize
];
//~ ERROR: the size for values of type
}
println
!(
"{}"
,
symbol
[
0
]);
//~^ ERROR: extern static is unsafe
}