diff options
Diffstat (limited to 'test/std/input.output/iostream.format/output.streams/ostream.cons/move.pass.cpp')
| -rw-r--r-- | test/std/input.output/iostream.format/output.streams/ostream.cons/move.pass.cpp | 6 | 
1 files changed, 2 insertions, 4 deletions
diff --git a/test/std/input.output/iostream.format/output.streams/ostream.cons/move.pass.cpp b/test/std/input.output/iostream.format/output.streams/ostream.cons/move.pass.cpp index b3045b3232e6..7d225d49546d 100644 --- a/test/std/input.output/iostream.format/output.streams/ostream.cons/move.pass.cpp +++ b/test/std/input.output/iostream.format/output.streams/ostream.cons/move.pass.cpp @@ -7,6 +7,8 @@  //  //===----------------------------------------------------------------------===// +// UNSUPPORTED: c++98, c++03 +  // <ostream>  // template <class charT, class traits = char_traits<charT> > @@ -17,7 +19,6 @@  #include <ostream>  #include <cassert> -#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES  template <class CharT>  struct testbuf @@ -37,11 +38,9 @@ struct test_ostream          : base(std::move(s)) {}  }; -#endif  // _LIBCPP_HAS_NO_RVALUE_REFERENCES  int main()  { -#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES      {          testbuf<char> sb;          test_ostream<char> os1(&sb); @@ -70,5 +69,4 @@ int main()          assert(os.precision() == 6);          assert(os.getloc().name() == "C");      } -#endif  // _LIBCPP_HAS_NO_RVALUE_REFERENCES  }  | 
