ulib/3party/rxcpp/Rx/v2/test/test.cpp

12 lines
256 B
C++
Raw Permalink Normal View History

2024-01-10 09:33:36 +08:00
#include <exception>
#if (__GLIBCXX__ / 10000) == 2014 || (__GLIBCXX__ / 10000) == 2015
namespace std {
inline bool uncaught_exception() noexcept(true) {
return current_exception() != nullptr;
}
}
#endif
#define CATCH_CONFIG_MAIN
#include "catch.hpp"