]> git.lizzy.rs Git - rust.git/blob - tests/ui/macros/issue-95533.rs
Rollup merge of #106783 - WaffleLapkin:break-my-ident, r=wesleywiser
[rust.git] / tests / ui / macros / issue-95533.rs
1 // check-pass
2
3 #![no_implicit_prelude]
4 // the macro should not rely on the prelude being imported
5 ::std::thread_local! { static P: () = (); }
6 ::std::thread_local! { static Q: () = const { () }; }
7
8 fn main () {}