diff options
Diffstat (limited to 'test/std/experimental/optional/optional.nullops/greater_equal.pass.cpp')
| -rw-r--r-- | test/std/experimental/optional/optional.nullops/greater_equal.pass.cpp | 6 | 
1 files changed, 2 insertions, 4 deletions
diff --git a/test/std/experimental/optional/optional.nullops/greater_equal.pass.cpp b/test/std/experimental/optional/optional.nullops/greater_equal.pass.cpp index 86c8743b55589..313770ff408e2 100644 --- a/test/std/experimental/optional/optional.nullops/greater_equal.pass.cpp +++ b/test/std/experimental/optional/optional.nullops/greater_equal.pass.cpp @@ -7,7 +7,7 @@  //  //===----------------------------------------------------------------------===// - +// UNSUPPORTED: c++98, c++03, c++11  // <optional>  // template <class T> constexpr bool operator>=(const optional<T>& x, nullopt_t) noexcept; @@ -17,7 +17,6 @@  int main()  { -#if _LIBCPP_STD_VER > 11      using std::experimental::optional;      using std::experimental::nullopt_t;      using std::experimental::nullopt; @@ -25,7 +24,7 @@ int main()      {      typedef int T;      typedef optional<T> O; -     +      constexpr O o1;     // disengaged      constexpr O o2{1};  // engaged @@ -37,5 +36,4 @@ int main()      static_assert (noexcept(nullopt >= o1), "");      static_assert (noexcept(o1 >= nullopt), "");      } -#endif  }  | 
