X11-DisableStringification.cpp 469 B

12345678910111213141516
  1. // X11-DisableStringification.cpp
  2. // Test that stringification of original expression can be disabled
  3. // this is a workaround for VS 2017 issue with Raw String literal
  4. // and preprocessor token pasting. In other words, hopefully this test
  5. // will be deleted soon :-)
  6. #define CATCH_CONFIG_MAIN
  7. #include <catch2/catch.hpp>
  8. struct Hidden {};
  9. bool operator==(Hidden, Hidden) { return true; }
  10. TEST_CASE("DisableStringification") {
  11. REQUIRE( Hidden{} == Hidden{} );
  12. }