summaryrefslogtreecommitdiffstats
path: root/libcxx/test/numerics/numarray/template.valarray/valarray.cons/move.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/numerics/numarray/template.valarray/valarray.cons/move.pass.cpp')
-rw-r--r--libcxx/test/numerics/numarray/template.valarray/valarray.cons/move.pass.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/test/numerics/numarray/template.valarray/valarray.cons/move.pass.cpp b/libcxx/test/numerics/numarray/template.valarray/valarray.cons/move.pass.cpp
index ea115c3e6de..b9de5006def 100644
--- a/libcxx/test/numerics/numarray/template.valarray/valarray.cons/move.pass.cpp
+++ b/libcxx/test/numerics/numarray/template.valarray/valarray.cons/move.pass.cpp
@@ -19,7 +19,7 @@
int main()
{
-#ifdef _LIBCPP_MOVE
+#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES
{
typedef int T;
T a[] = {1, 2, 3, 4, 5};
@@ -57,5 +57,5 @@ int main()
assert(v2[i][j] == a[i][j]);
}
}
-#endif // _LIBCPP_MOVE
+#endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES
}
OpenPOWER on IntegriCloud