summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.assign/move.pass.cpp
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2017-03-03 03:43:25 +0000
committerEric Fiselier <eric@efcs.ca>2017-03-03 03:43:25 +0000
commit4f73dbf403159419d919c7eaa439af8ea5f00d13 (patch)
treed0fc1e444bd6e24cf15f8c1ec30d8077bc8d696d /libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.assign/move.pass.cpp
parent7d136d952ecb9fdf09b822b64a9f22f7ba5c7b40 (diff)
downloadbcm5719-llvm-4f73dbf403159419d919c7eaa439af8ea5f00d13.tar.gz
bcm5719-llvm-4f73dbf403159419d919c7eaa439af8ea5f00d13.zip
Clean up more usages of _LIBCPP_HAS_NO_RVALUE_REFERENCES
llvm-svn: 296854
Diffstat (limited to 'libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.assign/move.pass.cpp')
-rw-r--r--libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.assign/move.pass.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.assign/move.pass.cpp b/libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.assign/move.pass.cpp
index 2db9430a698..d3478818c05 100644
--- a/libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.assign/move.pass.cpp
+++ b/libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.assign/move.pass.cpp
@@ -7,7 +7,7 @@
//
//===----------------------------------------------------------------------===//
//
-// UNSUPPORTED: libcpp-has-no-threads
+// UNSUPPORTED: libcpp-has-no-threads, c++98, c++03
// <thread>
@@ -44,7 +44,6 @@ bool G::op_run = false;
int main()
{
-#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES
{
assert(G::n_alive == 0);
assert(!G::op_run);
@@ -61,5 +60,4 @@ int main()
assert(G::n_alive == 0);
assert(G::op_run);
}
-#endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES
}
OpenPOWER on IntegriCloud