2024-02-16 14:02:50 -06:00
|
|
|
//@ check-pass
|
2022-04-01 03:38:41 -05:00
|
|
|
|
|
|
|
#![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 () {}
|