mirror of
https://github.com/catchorg/Catch2.git
synced 2025-05-24 21:49:24 +00:00
Section no longer relies on copy-elision for correctness
- should address #293 - *may* address #271
This commit is contained in:
parent
a469d9bc0f
commit
23181eeef0
7 changed files with 36 additions and 29 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue