Puzzle
- Can you implement example showing constinit with thread_local storage?
extern constinit thread_local int var;
Solutions
extern constinit thread_local int var;
auto fn() { return var; }
extern constinit thread_local int var;
extern constinit thread_local int var;
auto fn() { return var; }