(root)/
binutils-2.41/
ld/
testsuite/
ld-x86-64/
tlsdesc1a.c
       1  #include <stdlib.h>
       2  #include <stdio.h>
       3  
       4  extern int foo (void);
       5  
       6  extern __thread int yyy;
       7  
       8  __thread int zzz = 20;
       9  
      10  int
      11  main (void)
      12  {
      13    if (foo () != zzz)
      14      abort ();
      15    if (yyy != 100)
      16      abort ();
      17    printf ("PASS\n");
      18    return 0;
      19  }