Silly MSVC

This commit is contained in:
Simon Brand
2017-10-17 13:16:51 +01:00
parent 7ceee95b5d
commit 186c3799d2

View File

@@ -8,6 +8,7 @@
REQUIRE(e);
TEST_CASE("Constexpr", "[constexpr]") {
#if !(_MSC_VER == 1900)
SECTION("empty construct") {
constexpr tl::optional<int> o2{};
constexpr tl::optional<int> o3 = {};
@@ -42,4 +43,5 @@ TEST_CASE("Constexpr", "[constexpr]") {
STATIC_REQUIRE(*o7 == 42);
STATIC_REQUIRE(*o8 == 42);
}
#endif
}