2006-07-21 19:43:26 +04:00
|
|
|
#include "libcxx1.h"
|
|
|
|
#include "libcxx2.h"
|
2010-09-06 20:43:57 +04:00
|
|
|
#ifdef _MSC_VER
|
2010-09-02 19:56:40 +04:00
|
|
|
extern int testCPP;
|
2010-09-06 20:43:57 +04:00
|
|
|
#endif
|
2006-07-21 19:43:26 +04:00
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
|
2016-05-16 17:34:04 +03:00
|
|
|
int main()
|
2006-07-21 19:43:26 +04:00
|
|
|
{
|
2010-09-06 20:43:57 +04:00
|
|
|
#ifdef _MSC_VER
|
2010-09-03 02:02:57 +04:00
|
|
|
testCPP = 1;
|
2010-09-06 20:43:57 +04:00
|
|
|
#endif
|
2016-05-16 17:34:04 +03:00
|
|
|
if (LibCxx1Class::Method() != 2.0) {
|
2006-07-21 19:43:26 +04:00
|
|
|
printf("Problem with libcxx1\n");
|
|
|
|
return 1;
|
2016-05-16 17:34:04 +03:00
|
|
|
}
|
|
|
|
if (LibCxx2Class::Method() != 1.0) {
|
2006-07-21 19:43:26 +04:00
|
|
|
printf("Problem with libcxx2\n");
|
|
|
|
return 1;
|
2016-05-16 17:34:04 +03:00
|
|
|
}
|
2006-07-21 19:43:26 +04:00
|
|
|
return 0;
|
|
|
|
}
|