]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/tls.rs
2 // ignore-emscripten no threads support
5 #![feature(thread_local)]
11 let local
= &S
as *const u32 as usize;
12 let foreign
= std
::thread
::spawn(|| &S
as *const u32 as usize).join().unwrap();
13 assert_ne
!(local
, foreign
);