]> git.lizzy.rs Git - rust.git/blob - tests/ui/issues/issue-70673.rs
Rollup merge of #106896 - Ezrashaw:str-cast-bool-emptyness, r=compiler-errors
[rust.git] / tests / ui / issues / issue-70673.rs
1 // Regression test for https://github.com/rust-lang/rust/issues/70673.
2
3 // run-pass
4
5 #![feature(thread_local)]
6
7 #[thread_local]
8 static A: &u8 = &42;
9
10 fn main() {
11     dbg!(*A);
12 }