1 2 3 4 5 6 7 8 9 10 11
/* Valid __thread specifiers. */ __thread int g1; extern __thread int g2; static __thread int g3; void foo() { extern __thread int l1; static __thread int l2; }