builds with -fno-exceptions should pass now - relates #12
diff --git a/scripts/code_coverage_source/test.cpp b/scripts/code_coverage_source/test.cpp
index 30652c0..09187ff 100644
--- a/scripts/code_coverage_source/test.cpp
+++ b/scripts/code_coverage_source/test.cpp
@@ -18,7 +18,11 @@
 
 static int throws(bool in) {
     if(in)
+#ifndef DOCTEST_CONFIG_NO_EXCEPTIONS
         throw false;
+#else // DOCTEST_CONFIG_NO_EXCEPTIONS
+        return 0;
+#endif // DOCTEST_CONFIG_NO_EXCEPTIONS
     return 42;
 }