blob: 5ea170c8b0556ebe0b39b32e9cf1b048fd815675 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#include <stdio.h>
#pragma weak foo
extern void foo ();
extern void foobar ();
void
foo ()
{
printf ("weak foo\n");
}
int
main ()
{
foobar ();
return 0;
}
|