summaryrefslogtreecommitdiffstats
path: root/tests/ui/macros/issue-95533.rs
blob: 905c14dc5fd219da60c363dd78bcc9d2c2e4747f (plain)
1
2
3
4
5
6
7
8
// check-pass

#![no_implicit_prelude]
// the macro should not rely on the prelude being imported
::std::thread_local! { static P: () = (); }
::std::thread_local! { static Q: () = const { () }; }

fn main () {}