cxxonly.cxx 298 B

12345678910111213141516171819
  1. #include "libcxx1.h"
  2. #include "libcxx2.h"
  3. #include <stdio.h>
  4. int main ()
  5. {
  6. if ( LibCxx1Class::Method() != 2.0 )
  7. {
  8. printf("Problem with libcxx1\n");
  9. return 1;
  10. }
  11. #ifdef TEST_FLAG_3
  12. return 0;
  13. #else
  14. printf("Problem with libcxx2.h include dir probably!\n");
  15. return 1;
  16. #endif
  17. }