• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 
6 #include <windows.h>
7 #define CATCH_CONFIG_MAIN
8 #include <catch2/catch.hpp>
9 
10 TEST_CASE("Catch2 did survive compilation with windows.h", "[compile-test]") {
11     SUCCEED();
12 }
13