2001-09-10 19:11:34 +02:00
|
|
|
#include <stdio.h>
|
|
|
|
|
|
|
|
#pragma weak foo
|
|
|
|
|
|
|
|
extern void foo ();
|
2001-09-15 01:43:17 +02:00
|
|
|
extern void foobar ();
|
2001-09-10 19:11:34 +02:00
|
|
|
|
|
|
|
void
|
|
|
|
foo ()
|
|
|
|
{
|
|
|
|
printf ("weak foo\n");
|
|
|
|
}
|
|
|
|
|
|
|
|
int
|
|
|
|
main ()
|
|
|
|
{
|
2001-09-15 01:43:17 +02:00
|
|
|
foobar ();
|
2001-09-10 19:11:34 +02:00
|
|
|
return 0;
|
|
|
|
}
|