Sign in
fuchsia
/
third_party
/
rust
/
4f237bf5aef933e7bf6cd976264fce94abad3c41
/
.
/
tests
/
mir-opt
/
tls_access.rs
blob: 19344c868621264154043b78630c4c44837cb560 [
file
] [
log
] [
blame
]
// EMIT_MIR tls_access.main.PreCodegen.after.mir
// compile-flags: -Zmir-opt-level=0
#![
feature
(
thread_local
)]
#[
thread_local
]
static
mut
FOO
:
u8
=
3
;
fn
main
()
{
unsafe
{
let
a
=
&
FOO
;
FOO
=
42
;
}
}