From 74e0e737a60d684d660cd2d8c9c0e9bee5e8f56b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Ho=C5=99e=C5=88ovsk=C3=BD?= Date: Sat, 22 Jun 2019 15:31:37 +0200 Subject: [PATCH] Remove useless test --- projects/SelfTest/UsageTests/Tricky.tests.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/projects/SelfTest/UsageTests/Tricky.tests.cpp b/projects/SelfTest/UsageTests/Tricky.tests.cpp index d8e5465b..55fe6230 100644 --- a/projects/SelfTest/UsageTests/Tricky.tests.cpp +++ b/projects/SelfTest/UsageTests/Tricky.tests.cpp @@ -390,12 +390,6 @@ TEST_CASE("Commas in various macros are allowed") { } } -TEST_CASE( "null deref", "[.][failing][!nonportable]" ) { - CHECK( false ); - int *x = NULL; - *x = 1; -} - TEST_CASE( "non-copyable objects", "[.][failing]" ) { // Thanks to Agustin Bergé (@k-ballo on the cpplang Slack) for raising this std::type_info const& ti = typeid(int);