rust/tests/codegen/auxiliary/thread_local_aux.rs

6 lines
111 B
Rust

#![crate_type = "lib"]
use std::cell::Cell;
thread_local!(pub static A: Cell<u64> = const { Cell::new(0) });