mirror of
https://github.com/reactos/CMake.git
synced 2024-12-04 01:22:28 +00:00
26 lines
378 B
C++
26 lines
378 B
C++
#include "libcxx1.h"
|
|
#include "libcxx2.h"
|
|
#ifdef _MSC_VER
|
|
extern int testCPP;
|
|
#endif
|
|
|
|
#include <stdio.h>
|
|
|
|
int main ()
|
|
{
|
|
#ifdef _MSC_VER
|
|
testCPP = 1;
|
|
#endif
|
|
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;
|
|
}
|