(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
tls/
pr47715-1.c
       1  /* { dg-do compile } */
       2  /* { dg-require-effective-target fpic } */
       3  /* { dg-options "-O2 -fPIC" } */
       4  /* { dg-require-effective-target tls } */
       5  
       6  extern __thread int h_errno;
       7  int *
       8  __h_errno_location (void)
       9  {
      10    return &h_errno;
      11  }