blob: 8cd3e05bd0e1ad5765efb0b7e7508b6f674c5791 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#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"
|