llvm-project/lld/test/elf/X86_64/Inputs/weak.c

15 lines
145 B
C

int fn()
{
return 0;
}
void __attribute__((weak)) f()
{
printf("original f..\n");
}
int main(void)
{
f();
return 0;
}