Fix issue with fatal errors and non-failing assertions

Fixes #990
This commit is contained in:
Phil Nash authored and Martin Hořeňovský committed 2017-08-10 21:44:54 +02:00
1 parent 4f21bb72ff
commit 9688891868
2 files changed
+7

No files matched your search

+6
View File
@@ -407,3 +407,9 @@ TEST_CASE( "has printf", "" ) {
// This can cause problems as, currently, stdout itself is not redirect - only the cout (and cerr) buffer
printf( "spanner" );
}
TEST_CASE( "null deref", "[.][failing][!nonportable]" ) {
CHECK( false );
int *x = NULL;
*x = 1;
}