This website requires JavaScript.
Explore
Help
Sign In
nordic-dev.net
/
rust
Watch
2
Star
0
Fork
0
You've already forked rust
mirror of
https://github.com/rust-lang/rust.git
synced
2024-12-18 03:25:55 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
cbe2522652
rust
/
tests
/
ui
/
issues
/
issue-30756.rs
8 lines
87 B
Rust
Raw
Normal View
History
Unescape
Escape
Add `// run-pass` annotations to all the tests under `ui/run-pass/`. (I may have accidentally added it to some auxilliary crates as well; my emacs-macro-based methodology was pretty crude.)
2018-08-30 12:18:55 +00:00
// run-pass
Check #[thread_local] statics correctly in the compiler.
2017-08-08 15:22:51 +00:00
#![
forbid(unsafe_code)
]
Test for unsafe code in TLS macro
2016-02-04 12:20:32 +00:00
thread_local!
(
static
FOO
:
u8
=
1
)
;
fn
main
(
)
{
}
Reference in New Issue
Copy Permalink