⚗️ try to reproduce with initializer_list_t

This commit is contained in:
Niels Lohmann 2022-01-03 19:53:07 +01:00
parent 804da0b6d7
commit 66a2d18df6
No known key found for this signature in database
GPG Key ID: 7F3CEA63AE251B69

View File

@ -856,7 +856,7 @@ TEST_CASE("regression tests 2")
try
{
// 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(false)}