1 #include <exception> 2 #if (__GLIBCXX__ / 10000) == 2014 || (__GLIBCXX__ / 10000) == 2015 3 namespace std { uncaught_exception()4inline bool uncaught_exception() noexcept(true) { 5 return current_exception() != nullptr; 6 } 7 } 8 #endif 9 10 #define CATCH_CONFIG_MAIN 11 #include "catch.hpp" 12