☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gcc.dg
/
tls
/
diag-1.c
☽
☼
gcc/testsuite/gcc.dg/tls/diag-1.c
code
plain
raw
1
/* Valid __thread specifiers. */
2
/* { dg-require-effective-target tls } */
3
4
__thread int g1;
5
extern __thread int g2;
6
static __thread int g3;
7
8
void foo()
9
{
10
extern __thread int l1;
11
static __thread int l2;
12
}