Projet_SETI_RISC-V/riscv-gnu-toolchain/binutils/ld/testsuite/ld-i386/pr19704a.c

14 lines
168 B
C
Raw Normal View History

2023-03-06 14:48:14 +01:00
#include <stdio.h>
extern int __attribute__ ((weak)) fun (void);
int
main (void)
{
if (&fun != 0)
fun ();
else
printf ("Weak undefined\n");
return 0;
}