1 // Test that `#[thread_local]` attribute is gated by `thread_local`
4 // (Note that the `thread_local!` macro is explicitly *not* gated; it
5 // is given permission to expand into this unstable attribute even
6 // when the surrounding context does not have permission to use it.)
8 #[thread_local] //~ ERROR `#[thread_local]` is an experimental feature