Projet_SETI_RISC-V/riscv-gnu-toolchain/gdb/ld/testsuite/ld-x86-64/pr19704a.c
2023-03-06 14:48:14 +01:00

13 lines
168 B
C

#include <stdio.h>
extern int __attribute__ ((weak)) fun (void);
int
main (void)
{
if (&fun != 0)
fun ();
else
printf ("Weak undefined\n");
return 0;
}