summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-plugin/lto-7c.c
blob: 5236f5764ba327628b38afbf6df8029c161c1b1c (plain)
1
2
3
4
5
6
7
8
9
extern int foo;
extern int foo2;

static void
__attribute__ ((unused, constructor))
set_foo (void)
{
  foo = foo2;
}