summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.constr/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.constr/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.constr/move.pass.cpp')
-rw-r--r--libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.constr/move.pass.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.constr/move.pass.cpp b/libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.constr/move.pass.cpp
index e88304ec8da..f349e4c56fc 100644
--- a/libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.constr/move.pass.cpp
+++ b/libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.constr/move.pass.cpp
@@ -7,7 +7,7 @@
//
//===----------------------------------------------------------------------===//
//
-// UNSUPPORTED: libcpp-has-no-threads
+// UNSUPPORTED: libcpp-has-no-threads, c++98, c++03
// <thread>
@@ -53,7 +53,6 @@ bool G::op_run = false;
int main()
{
-#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES
{
G g;
assert(G::n_alive == 1);
@@ -68,5 +67,4 @@ int main()
assert(G::op_run);
}
assert(G::n_alive == 0);
-#endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES
}
OpenPOWER on IntegriCloud