ld: Update function prototypes for compilers defaulting to -std=gnu23
[binutils-gdb.git] / ld / testsuite / ld-elf / pr9679-2.c
blobe125a6b746e1b3cae4b99684abf18767f2692505
1 extern int foo (void) __attribute__((weak,__visibility__ ("hidden")));
3 int
4 foo (void)
6 return 1;
9 int
10 bar (void)
12 return foo ();