]> git.lizzy.rs Git - rust.git/blob - src/test/codegen/auxiliary/thread_local_aux.rs
Merge commit '40dd3e2b7089b5e96714e064b731f6dbf17c61a9' into sync_cg_clif-2021-05-27
[rust.git] / src / test / codegen / auxiliary / thread_local_aux.rs
1 #![crate_type = "lib"]
2 #![feature(thread_local_const_init)]
3
4 use std::cell::Cell;
5
6 thread_local!(pub static A: Cell<u64> = const { Cell::new(0) });