☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
tls
/
pr102642.C
☽
☼
gcc/testsuite/g++.dg/tls/pr102642.C
code
plain
raw
1
// PR c++/102642
2
// { dg-do compile { target c++11 } }
3
4
thread_local int *z; // { dg-message "previous declaration" }
5
6
void
7
foo ()
8
{
9
extern thread_local int z; // { dg-error "conflicting declaration" }
10
}