Retro68/binutils/ld/testsuite/ld-plugin/lto-7b.c

9 lines
98 B
C

extern int foo;
static void
__attribute__ ((unused, constructor))
set_foo (void)
{
foo = 30;
}