(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
tls/
pr102642.C
// 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" }
}