From 186c3799d27fb3c9e168ec60d5ff6432e0c76f50 Mon Sep 17 00:00:00 2001 From: Simon Brand Date: Tue, 17 Oct 2017 13:16:51 +0100 Subject: [PATCH] Silly MSVC --- tests/constexpr.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/constexpr.cpp b/tests/constexpr.cpp index 8035584..c95f3d8 100644 --- a/tests/constexpr.cpp +++ b/tests/constexpr.cpp @@ -8,6 +8,7 @@ REQUIRE(e); TEST_CASE("Constexpr", "[constexpr]") { +#if !(_MSC_VER == 1900) SECTION("empty construct") { constexpr tl::optional o2{}; constexpr tl::optional o3 = {}; @@ -42,4 +43,5 @@ TEST_CASE("Constexpr", "[constexpr]") { STATIC_REQUIRE(*o7 == 42); STATIC_REQUIRE(*o8 == 42); } + #endif }