mirror of
https://github.com/catchorg/Catch2.git
synced 2025-08-01 12:55:40 +02:00
Section no longer relies on copy-elision for correctness
- should address #293 - *may* address #271
This commit is contained in:
@@ -387,7 +387,7 @@ TEST_CASE( "pointer to class", "[Tricky]" )
|
||||
|
||||
#include <memory>
|
||||
|
||||
TEST_CASE( "null_ptr", "[Tricky]" )
|
||||
TEST_CASE( "null_ptr", "[Tricky][c++11]" )
|
||||
{
|
||||
std::unique_ptr<int> ptr;
|
||||
REQUIRE(ptr.get() == nullptr);
|
||||
|
Reference in New Issue
Block a user