main.cpp 455 B

12345678910111213141516171819
  1. #include "test_compiler_detection.h"
  2. #define JOIN_IMPL(A, B) A ## B
  3. #define JOIN(A, B) JOIN_IMPL(A, B)
  4. #define CHECK(FEATURE) (JOIN(TEST_COMPILER_, FEATURE) == JOIN(EXPECTED_COMPILER_, FEATURE))
  5. #if !CHECK(CXX_DELEGATING_CONSTRUCTORS)
  6. #error cxx_delegating_constructors expected availability did not match.
  7. #endif
  8. #if !CHECK(CXX_VARIADIC_TEMPLATES)
  9. #error cxx_variadic_templates expected availability did not match.
  10. #endif
  11. int main()
  12. {
  13. return 0;
  14. }