summaryrefslogtreecommitdiffstats
path: root/test/std/thread/futures/futures.unique_future/move_ctor.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/std/thread/futures/futures.unique_future/move_ctor.pass.cpp')
-rw-r--r--test/std/thread/futures/futures.unique_future/move_ctor.pass.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/std/thread/futures/futures.unique_future/move_ctor.pass.cpp b/test/std/thread/futures/futures.unique_future/move_ctor.pass.cpp
index e12c92088..14e2eb416 100644
--- a/test/std/thread/futures/futures.unique_future/move_ctor.pass.cpp
+++ b/test/std/thread/futures/futures.unique_future/move_ctor.pass.cpp
@@ -7,7 +7,7 @@
//
//===----------------------------------------------------------------------===//
//
-// UNSUPPORTED: libcpp-has-no-threads
+// UNSUPPORTED: libcpp-has-no-threads, c++98, c++03
// <future>
@@ -20,7 +20,6 @@
int main()
{
-#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES
{
typedef int T;
std::promise<T> p;
@@ -66,5 +65,4 @@ int main()
assert(!f0.valid());
assert(!f.valid());
}
-#endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES
}