diff --git a/tests/monadic.cpp b/tests/monadic.cpp index a1d869c..522bdf6 100644 --- a/tests/monadic.cpp +++ b/tests/monadic.cpp @@ -8,7 +8,7 @@ REQUIRE(e); constexpr int get_int(int) { return 42; } -constexpr tl::optional get_opt_int(int) { return 42; } +TL_OPTIONAL_MSVC_2015_CONSTEXPR tl::optional get_opt_int(int) { return 42; } // What is Clang Format up to?! TEST_CASE("Monadic operations",