1 #![feature(const_fn, thread_local)]
7 //~^ ERROR thread-local statics cannot be accessed at compile-time
10 //~^ ERROR thread-local statics cannot be accessed at compile-time
11 //~| ERROR thread-local variable borrowed past end of function
14 //~^ ERROR thread-local statics cannot be accessed at compile-time
17 //~^ ERROR thread-local statics cannot be accessed at compile-time
18 //~| ERROR thread-local variable borrowed past end of function
22 //~^ ERROR thread-local statics cannot be accessed at compile-time