Projet_SETI_RISC-V/riscv-gnu-toolchain/binutils/ld/testsuite/ld-plugin/pr26262b.c

17 lines
130 B
C
Raw Normal View History

2023-03-06 14:48:14 +01:00
#include <stdlib.h>
extern int counter;
void
foo (void)
{
counter++;
}
__attribute__((weak))
void
bar (void)
{
abort ();
}