X90-WindowsHeaderInclusion.cpp 359 B

123456789101112
  1. // X90-WindowsHeaderInclusion.cpp
  2. // Test that the Catch2 header compiles even after including windows.h
  3. // without defining NOMINMAX first. As an FYI, if you do that, you are
  4. // wrong.
  5. #include <windows.h>
  6. #define CATCH_CONFIG_MAIN
  7. #include <catch2/catch.hpp>
  8. TEST_CASE("Catch2 did survive compilation with windows.h", "[compile-test]") {
  9. SUCCEED();
  10. }