Fixes issue with fatal errors and non-failing assertions

Fixes #990
This commit is contained in:
Phil Nash committed 2017-08-10 17:10:13 +01:00
1 parent 6282999291
commit 684cbb2631
2 files changed
+7

No files matched your search

+6
View File
@@ -429,3 +429,9 @@ TEST_CASE("Commas in various macros are allowed") {
CHECK(true);
}
}
TEST_CASE( "null deref", "[.][failing][!nonportable]" ) {
CHECK( false );
int *x = NULL;
*x = 1;
}