// To build this, type: // g++ -g -Wall -shared -o libtest9-v0.so test9-v0.cc __thread int global_var0; __thread int global_var1; void foo() { }