CMake/Tests/COnly/conly.c
2006-05-04 13:35:56 -04:00

24 lines
340 B
C

#include "foo.h"
#include "libc1.h"
#include "libc2.h"
#include <stdio.h>
int main ()
{
int class = 0;
if ( LibC1Func() != 2.0 )
{
printf("Problem with libc1\n");
return 1;
}
if ( LibC2Func() != 1.0 )
{
printf("Problem with libc2\n");
return 1;
}
printf("Foo: %s %d\n", foo, class);
return 0;
}