Fix compilation error when lambdas are used in assertions

This is a partial revert of b7b346c3e5.
This commit is contained in:
Martin Hořeňovský
2020-03-19 13:32:45 +01:00
parent 5f94c8dafb
commit 3a33315ff8
9 changed files with 36 additions and 10 deletions

View File

@@ -228,6 +228,9 @@ namespace { namespace CompilationTests {
REQUIRE( 0 == y.v );
}
TEST_CASE("Lambdas in assertions") {
REQUIRE([]() { return true; }());
}
}} // namespace CompilationTests