]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/threads-sendsync/thread-local-syntax.rs
3 //! this tests the syntax of `thread_local!`
12 pub static BAR
: String
= String
::from("bar");
14 // look at these restrictions!!
15 pub(crate) static BAZ
: usize = 0;
16 pub(in foo
) static QUUX
: usize = 0;
18 thread_local
!(static SPLOK
: u32 = 0);