rust/tests/rustdoc/thread-local-src.rs
2024-06-24 11:08:41 +02:00

7 lines
249 B
Rust

#![crate_name = "foo"]
//@ has foo/index.html '//a[@href="../src/foo/thread-local-src.rs.html#1-6"]' 'source'
//@ has foo/constant.FOO.html '//a[@href="../src/foo/thread-local-src.rs.html#6"]' 'source'
thread_local!(pub static FOO: bool = false);