summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/input.output/file.streams/fstreams/fstream.assign/move_assign.pass.cpp
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2017-04-18 23:38:41 +0000
committerEric Fiselier <eric@efcs.ca>2017-04-18 23:38:41 +0000
commitf0aca21e094d2a3f14afc9cbe82878d256e40bd1 (patch)
tree513c72f4b0ebf42de0ecd633ba99dbe39f5f5361 /libcxx/test/std/input.output/file.streams/fstreams/fstream.assign/move_assign.pass.cpp
parentddda456a76b2809e818c82d90252f42511900b12 (diff)
downloadbcm5719-llvm-f0aca21e094d2a3f14afc9cbe82878d256e40bd1.tar.gz
bcm5719-llvm-f0aca21e094d2a3f14afc9cbe82878d256e40bd1.zip
Cleanup _LIBCPP_HAS_NO_<c++11-feature> in the input.output library
llvm-svn: 300626
Diffstat (limited to 'libcxx/test/std/input.output/file.streams/fstreams/fstream.assign/move_assign.pass.cpp')
-rw-r--r--libcxx/test/std/input.output/file.streams/fstreams/fstream.assign/move_assign.pass.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/test/std/input.output/file.streams/fstreams/fstream.assign/move_assign.pass.cpp b/libcxx/test/std/input.output/file.streams/fstreams/fstream.assign/move_assign.pass.cpp
index b5157e90edc..b143bd4a55e 100644
--- a/libcxx/test/std/input.output/file.streams/fstreams/fstream.assign/move_assign.pass.cpp
+++ b/libcxx/test/std/input.output/file.streams/fstreams/fstream.assign/move_assign.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.c_str(), std::ios_base::in | std::ios_base::out
@@ -46,5 +47,4 @@ int main()
assert(x == 3.25);
}
std::remove(temp.c_str());
-#endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES
}
OpenPOWER on IntegriCloud