20 lines
297 B
C++
20 lines
297 B
C++
|
#include "libcxx1.h"
|
||
|
#include "libcxx2.h"
|
||
|
|
||
|
#include <stdio.h>
|
||
|
|
||
|
int main ()
|
||
|
{
|
||
|
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;
|
||
|
}
|