about summary refs log tree commit diff
path: root/tests/ui/macros/issue-95533.rs
blob: f2bdc346496aa104056afaa5ab6f539c5740168d (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 () {}