binutils-gdb/gold/testsuite/weak_as_needed_a.c

11 lines
124 B
C

extern void bar(void) __attribute__ (( weak ));
extern void t4(void);
void foo(void);
void foo(void)
{
bar();
t4();
}