This website requires JavaScript.
Explore
Help
Register
Sign In
rust-lang
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Actions
1
Packages
Projects
Releases
Wiki
Activity
Files
51b51b51d7931da85280382a81c4dd80c73ca754
rust
/
tests
/
ui
/
issues
/
issue-30756.rs
8 lines
88 B
Rust
Raw
Normal View
History
Unescape
Escape
[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives
2024-02-16 20:02:50 +00:00
//@ run-pass
Check #[thread_local] statics correctly in the compiler.
2017-08-08 18:22:51 +03:00
#![
forbid(unsafe_code)
]
Test for unsafe code in TLS macro
2016-02-04 17:50:32 +05:30
thread_local!
(
static
FOO
:
u8
=
1
)
;
fn
main
(
)
{
}
Reference in New Issue
Copy Permalink