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 7 #define CATCH_CONFIG_MAIN 8 #include <catch2/catch.hpp> 9 10 struct Hidden {}; 11 operator ==(Hidden,Hidden)12bool operator==(Hidden, Hidden) { return true; } 13 14 TEST_CASE("DisableStringification") { 15 REQUIRE( Hidden{} == Hidden{} ); 16 } 17