// X10-FallbackStringifier.cpp // Test that defining fallbackStringifier compiles #include // A catch-all stringifier template std::string fallbackStringifier(T const&) { return "{ !!! }"; } #define CATCH_CONFIG_MAIN #include struct foo { explicit operator bool() const { return true; } }; TEST_CASE("aa") { REQUIRE(foo{}); }