You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
392 B
26 lines
392 B
#include "libcxx1.h"
|
|
#include "libcxx2.h"
|
|
extern int testC;
|
|
#ifdef _MSC_VER
|
|
extern int testCPP;
|
|
#endif
|
|
|
|
#include <stdio.h>
|
|
|
|
int main()
|
|
{
|
|
testC = 1;
|
|
#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;
|
|
}
|