ld: Update function prototypes for compilers defaulting to -std=gnu23
[binutils-gdb.git] / ld / testsuite / ld-x86-64 / tlsdesc1a.c
blob7d2f4f634c8388a2bd4ec72a68afa838e8fa6733
1 #include <stdlib.h>
2 #include <stdio.h>
4 extern int foo (void);
6 extern __thread int yyy;
8 __thread int zzz = 20;
10 int
11 main (void)
13 if (foo () != zzz)
14 abort ();
15 if (yyy != 100)
16 abort ();
17 printf ("PASS\n");
18 return 0;