blob: 2996e65c8235a418e9be4a0fe36e2452a72f630e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#include "libcxx1.h"
#include "libcxx2.h"
extern int testCPP;
extern int testCXX;
extern int testCplusplus;
#include <stdio.h>
int main ()
{
testCPP = testCXX= testCplusplus = 1;
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;
}
|