summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/thread-local-src.rs
blob: 6de35e3233b0573234b976f39636e7b3d8427a46 (plain)
1
2
3
4
5
6
#![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);