ld: Update function prototypes for compilers defaulting to -std=gnu23
[binutils-gdb.git] / ld / testsuite / ld-x86-64 / pr19704a.c
blobaa52e0011d2c8c9e40ac4ad924a0186250a03b7d
1 #include <stdio.h>
3 extern int __attribute__ ((weak)) fun (void);
5 int
6 main (void)
8 if (&fun != 0)
9 fun ();
10 else
11 printf ("Weak undefined\n");
12 return 0;