1 // Test has to include at least two TLS symbols to exercise matching. 2 3 thread_local int foo = 0; 4 5 namespace ns { 6 7 thread_local short foo = 0; 8 9 } 10 bar()11 int bar() { 12 thread_local static long local_foo = 0; 13 return foo + ns::foo + local_foo; 14 } 15