rust/tests/ui/issues/issue-30756.rs
2023-01-11 09:32:08 +00:00

8 lines
87 B
Rust

// run-pass
#![forbid(unsafe_code)]
thread_local!(static FOO: u8 = 1);
fn main() {
}