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