mirror of
https://github.com/catchorg/Catch2.git
synced 2025-08-01 12:55:40 +02:00

committed by
Martin Hořeňovský

parent
4f21bb72ff
commit
9688891868
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user