Sign in
rust
/
rust
/
08650fbb506c44fbc95d91abfb7cd95a56bbff30
/
.
/
src
/
test
/
ui
/
thread-local
/
name-collision.rs
blob: dcff9183ad95a23f52e1143dba78cffd54ef5f4c [
file
]
// check-pass
#[
allow
(
non_camel_case_types
)]
struct
u8
;
std
::
thread_local
!
{
pub
static
A
:
i32
=
f
();
pub
static
B
:
i32
=
const
{
0
};
}
fn
f
()
->
i32
{
0
}
fn
main
()
{}