brintos

brintos / llvm-project-archived public Read only

0
0
Text · 305 B · 04c7fc0 Raw
12 lines · cpp
1int storage = 45;2thread_local int tl_global_int = 123;3thread_local int *tl_global_ptr = &storage;4 5int main(int argc, char **argv) {6  thread_local int tl_local_int = 321;7  thread_local int *tl_local_ptr = nullptr;8  tl_local_ptr = &tl_local_int;9  tl_local_int++;10  return 0; // Set breakpoint here11}12