Sign in
android
/
toolchain
/
rustc
/
d720b3f2ba07cb42ff7b311589c99daefe3aaa22
/
.
/
tests
/
ui
/
thread-local
/
name-collision.rs
blob: dcff9183ad95a23f52e1143dba78cffd54ef5f4c [
file
] [
log
] [
blame
]
// 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
()
{}