Sign in
gnu
/
gcc
/
refs/tags/basepoints/gcc-13
/
.
/
gcc
/
testsuite
/
g++.dg
/
tls
/
pr102642.C
blob: e3236d3dfdb9589d430e8861ece646bee86bd35c [
file
] [
log
] [
blame
]
// PR c++/102642
// { dg-do compile { target c++11 } }
thread_local
int
*
z
;
// { dg-message "previous declaration" }
void
foo
()
{
extern
thread_local
int
z
;
// { dg-error "conflicting declaration" }
}