diff options
Diffstat (limited to 'source')
-rw-r--r-- | source/test/programs/signals.cpp | 6 |
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"); |