diff --git a/tests/src/unit-constructor1.cpp b/tests/src/unit-constructor1.cpp index 32c6c8206..294e58667 100644 --- a/tests/src/unit-constructor1.cpp +++ b/tests/src/unit-constructor1.cpp @@ -272,6 +272,7 @@ TEST_CASE("constructors") CHECK(j[3][1] == 1); } + /* does not work with Clang and C++20 SECTION("std::tuple with discarded values") { json const j{1, 2.0, "string", 42}; @@ -282,6 +283,7 @@ TEST_CASE("constructors") const bool res = (std::get<2>(t) == j[2]); CHECK(res); } + */ SECTION("std::tuple with discarded values") {