summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorMitya Selivanov <0x7fffff@guattari.ru>2022-08-19 16:49:26 +0400
committerMitya Selivanov <0x7fffff@guattari.ru>2022-08-19 16:49:26 +0400
commit7fb929b0b1223db39636e96d48a9cdf728856ebb (patch)
tree1ef82cb6f4dccf57cb353a9755231d2e9e7dd4a5 /source
parent844e7e997c920f6783e31924c941aed067eea98c (diff)
downloadkit-7fb929b0b1223db39636e96d48a9cdf728856ebb.zip
test win32
Diffstat (limited to 'source')
-rw-r--r--source/test/programs/signals.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/test/programs/signals.cpp b/source/test/programs/signals.cpp
index d468d83..868e9c0 100644
--- a/source/test/programs/signals.cpp
+++ b/source/test/programs/signals.cpp
@@ -2,6 +2,12 @@
#include <cstdio>
#include <cstdlib>
+#include <stdexcept>
+
+TEST("c++ exception") {
+ printf("** C++ EXCEPTION\n\n");
+ throw std::exception {};
+}
TEST("abort") {
printf("** ABORT\n\n");