⚗️ try to reproduce with initializer_list_t
This commit is contained in:
parent
804da0b6d7
commit
66a2d18df6
@ -856,7 +856,7 @@ TEST_CASE("regression tests 2")
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
// std::map<std::string, std::string> j // no leak
|
// std::map<std::string, std::string> j // no leak
|
||||||
nlohmann::json j // leak
|
nlohmann::json::initializer_list_t j // leak
|
||||||
{
|
{
|
||||||
{"smth", f_3215(true)}, // exception thrown here
|
{"smth", f_3215(true)}, // exception thrown here
|
||||||
{"smth", f_3215(false)}
|
{"smth", f_3215(false)}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user