binutils-gdb/ld/testsuite/ld-plugin/pr16846b.c
H.J. Lu 43c001c7d6 Add tests for PR ld/16846
PR ld/16846
	* ld-plugin/lto.exp (lto_link_tests): Add tests for PR ld/16846.
	* ld-plugin/pr16846a.c: New file.
	* ld-plugin/pr16846b.c: Likewise.
	* ld-plugin/pr16846c.c: Likewise.
2014-04-22 10:22:39 -07:00

8 lines
60 B
C

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