2020-02-01 23:06:01 +01:00
|
|
|
#include <stdio.h>
|
2008-10-12 18:41:06 +02:00
|
|
|
|
2020-02-01 23:06:01 +01:00
|
|
|
#include "foo.h"
|
2008-10-12 18:41:06 +02:00
|
|
|
#include "libc1.h"
|
|
|
|
#include "libc2.h"
|
|
|
|
|
2016-07-09 11:21:54 +02:00
|
|
|
int main()
|
2008-10-12 18:41:06 +02:00
|
|
|
{
|
|
|
|
int class = 0;
|
2016-07-09 11:21:54 +02:00
|
|
|
if (LibC1Func() != 2.0) {
|
2008-10-12 18:41:06 +02:00
|
|
|
printf("Problem with libc1\n");
|
|
|
|
return 1;
|
2016-07-09 11:21:54 +02:00
|
|
|
}
|
|
|
|
if (LibC2Func() != 1.0) {
|
2008-10-12 18:41:06 +02:00
|
|
|
printf("Problem with libc2\n");
|
|
|
|
return 1;
|
2016-07-09 11:21:54 +02:00
|
|
|
}
|
2008-10-12 18:41:06 +02:00
|
|
|
printf("Foo: %s %d\n", foo, class);
|
|
|
|
return 0;
|
|
|
|
}
|