summaryrefslogtreecommitdiff
path: root/test/std/input.output/file.streams/fstreams/fstream.cons/move.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/std/input.output/file.streams/fstreams/fstream.cons/move.pass.cpp')
-rw-r--r--test/std/input.output/file.streams/fstreams/fstream.cons/move.pass.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/std/input.output/file.streams/fstreams/fstream.cons/move.pass.cpp b/test/std/input.output/file.streams/fstreams/fstream.cons/move.pass.cpp
index d2ae3028606c..556cc858a664 100644
--- a/test/std/input.output/file.streams/fstreams/fstream.cons/move.pass.cpp
+++ b/test/std/input.output/file.streams/fstreams/fstream.cons/move.pass.cpp
@@ -7,6 +7,8 @@
//
//===----------------------------------------------------------------------===//
+// UNSUPPORTED: c++98, c++03
+
// <fstream>
// template <class charT, class traits = char_traits<charT> >
@@ -20,7 +22,6 @@
int main()
{
-#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES
std::string temp = get_temp_file_name();
{
std::fstream fso(temp, std::ios_base::in | std::ios_base::out
@@ -44,5 +45,4 @@ int main()
assert(x == 3.25);
}
std::remove(temp.c_str());
-#endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES
}