PR target/24475
[official-gcc.git] / gcc / testsuite / gcc.dg / tls / diag-1.c
blob56b570c94a5c74803232ad254ba9e661fe429a34
1 /* Valid __thread specifiers. */
2 /* { dg-require-effective-target tls } */
4 __thread int g1;
5 extern __thread int g2;
6 static __thread int g3;
8 void foo()
10 extern __thread int l1;
11 static __thread int l2;