cmake/Tests/NewlineArgs/cxxonly.cxx

19 lines
289 B
C++
Raw Normal View History

2020-02-01 23:06:01 +01:00
#include <stdio.h>
#include "libcxx1.h"
#include "libcxx2.h"
2016-07-09 11:21:54 +02:00
int main()
{
2016-07-09 11:21:54 +02:00
if (LibCxx1Class::Method() != 2.0) {
printf("Problem with libcxx1\n");
return 1;
2016-07-09 11:21:54 +02:00
}
#ifdef TEST_FLAG_3
return 0;
#else
printf("Problem with libcxx2.h include dir probably!\n");
return 1;
#endif
}