CMake/Tests/NewlineArgs/cxxonly.cxx
Kitware Robot ed98209ddc Revise include order using clang-format-6.0
Run the `clang-format.bash` script to update our C and C++ code to a new
include order `.clang-format`.  Use `clang-format` version 6.0.
2019-10-01 12:26:36 -04:00

19 lines
289 B
C++

#include <stdio.h>
#include "libcxx1.h"
#include "libcxx2.h"
int main()
{
if (LibCxx1Class::Method() != 2.0) {
printf("Problem with libcxx1\n");
return 1;
}
#ifdef TEST_FLAG_3
return 0;
#else
printf("Problem with libcxx2.h include dir probably!\n");
return 1;
#endif
}