fixing clang builds on CI
diff --git a/examples/dll_and_executable/main.cpp b/examples/dll_and_executable/main.cpp
index bd94da7..23180c8 100644
--- a/examples/dll_and_executable/main.cpp
+++ b/examples/dll_and_executable/main.cpp
@@ -3,9 +3,13 @@
 
 #include <cstdio>
 
+// throws an int(0) by default
+template<typename T = int>
+static int conditional_throw(bool in, const T& ex = T()) { if(in) throw ex; return 42; }
+
 TEST_CASE("executable") {
     printf("I am a test from the executable!\n");
-    throw 'a';
+    conditional_throw(true, 'a');
 }
 
 #ifdef _WIN32