Projet_SETI_RISC-V/riscv-gnu-toolchain/binutils/ld/testsuite/ld-plugin/lto-7b.c

9 lines
98 B
C
Raw Normal View History

2023-03-06 14:48:14 +01:00
extern int foo;
static void
__attribute__ ((unused, constructor))
set_foo (void)
{
foo = 30;
}