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