2002-10-06 12:12:59 -04:00
|
|
|
#include "foo.h"
|
|
|
|
|
2002-12-31 15:22:48 -05:00
|
|
|
#include "libc1.h"
|
|
|
|
#include "libc2.h"
|
|
|
|
|
2002-10-06 12:12:59 -04:00
|
|
|
#include <stdio.h>
|
|
|
|
|
2016-05-16 10:34:04 -04:00
|
|
|
int main()
|
2002-04-02 15:43:23 -05:00
|
|
|
{
|
2006-05-04 13:35:56 -04:00
|
|
|
int class = 0;
|
2016-05-16 10:34:04 -04:00
|
|
|
if (LibC1Func() != 2.0) {
|
2002-12-31 15:22:48 -05:00
|
|
|
printf("Problem with libc1\n");
|
|
|
|
return 1;
|
2016-05-16 10:34:04 -04:00
|
|
|
}
|
|
|
|
if (LibC2Func() != 1.0) {
|
2002-12-31 15:22:48 -05:00
|
|
|
printf("Problem with libc2\n");
|
|
|
|
return 1;
|
2016-05-16 10:34:04 -04:00
|
|
|
}
|
2006-05-04 13:35:56 -04:00
|
|
|
printf("Foo: %s %d\n", foo, class);
|
2002-04-02 15:43:23 -05:00
|
|
|
return 0;
|
|
|
|
}
|