| 1 |
extern int BasicB(void); |
| 2 |
extern int BasicC(void); |
| 3 |
|
| 4 |
/* Use a symbol provided by a dedicated object file in A, B, and C. |
| 5 |
The first library linked will determine the return value. */ |
| 6 |
extern int BasicX(void); |
| 7 |
|
| 8 |
int main(void) |
| 9 |
{ |
| 10 |
return BasicB() + BasicC() + BasicX(); |
| 11 |
} |