binutils-gdb/ld/testsuite/ld-plugin/pr16846b.c

8 lines
60 B
C

extern __thread int foo;
int
bar (void)
{
return foo;
}