CMake/Tests/CxxOnly/cxxonly.cxx

22 lines
332 B
C++
Raw Normal View History

2006-07-21 19:43:26 +04:00
#include "libcxx1.h"
#include "libcxx2.h"
extern int testCPP;
2006-07-21 19:43:26 +04:00
#include <stdio.h>
int main ()
{
testCPP = 1;
2006-07-21 19:43:26 +04:00
if ( LibCxx1Class::Method() != 2.0 )
{
printf("Problem with libcxx1\n");
return 1;
}
if ( LibCxx2Class::Method() != 1.0 )
{
printf("Problem with libcxx2\n");
return 1;
}
return 0;
}