diff options
Diffstat (limited to 'libcxx/test/std/experimental/optional/optional.relops/less_than.pass.cpp')
-rw-r--r-- | libcxx/test/std/experimental/optional/optional.relops/less_than.pass.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/libcxx/test/std/experimental/optional/optional.relops/less_than.pass.cpp b/libcxx/test/std/experimental/optional/optional.relops/less_than.pass.cpp index 37f7e194298..9affee180d0 100644 --- a/libcxx/test/std/experimental/optional/optional.relops/less_than.pass.cpp +++ b/libcxx/test/std/experimental/optional/optional.relops/less_than.pass.cpp @@ -7,14 +7,13 @@ // //===----------------------------------------------------------------------===// +// UNSUPPORTED: c++98, c++03, c++11 // <optional> // template <class T> constexpr bool operator< (const optional<T>& x, const optional<T>& y); #include <experimental/optional> -#if _LIBCPP_STD_VER > 11 - using std::experimental::optional; struct X @@ -27,11 +26,8 @@ struct X constexpr bool operator < ( const X &lhs, const X &rhs ) { return lhs.i_ < rhs.i_ ; } -#endif - int main() { -#if _LIBCPP_STD_VER > 11 { typedef optional<X> O; @@ -71,5 +67,4 @@ int main() static_assert ( (o5 < o4), "" ); static_assert ( !(o5 < o5), "" ); } -#endif } |