From 7609c9b665d67c9738fdd0af53ba9e8782218542 Mon Sep 17 00:00:00 2001 From: Howard Hinnant Date: Sat, 4 Sep 2010 23:28:19 +0000 Subject: Changed __config to react to all of clang's currently documented has_feature flags, and renamed _LIBCPP_MOVE to _LIBCPP_HAS_NO_RVALUE_REFERENCES to be more consistent with the rest of the libc++'s flags, and with clang's nomenclature. llvm-svn: 113086 --- .../alg.modifying.operations/alg.unique/unique_pred.pass.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'libcxx/test/algorithms/alg.modifying.operations/alg.unique/unique_pred.pass.cpp') diff --git a/libcxx/test/algorithms/alg.modifying.operations/alg.unique/unique_pred.pass.cpp b/libcxx/test/algorithms/alg.modifying.operations/alg.unique/unique_pred.pass.cpp index 0b921e02c75..a4ae57c3fd0 100644 --- a/libcxx/test/algorithms/alg.modifying.operations/alg.unique/unique_pred.pass.cpp +++ b/libcxx/test/algorithms/alg.modifying.operations/alg.unique/unique_pred.pass.cpp @@ -17,7 +17,7 @@ #include #include -#ifdef _LIBCPP_MOVE +#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES #include #endif @@ -110,7 +110,7 @@ test() assert(count_equal::count == si-1); } -#ifdef _LIBCPP_MOVE +#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES struct do_nothing { @@ -211,7 +211,7 @@ test1() assert(count_equal::count == si-1); } -#endif // _LIBCPP_MOVE +#endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES int main() { @@ -220,12 +220,12 @@ int main() test >(); test(); -#ifdef _LIBCPP_MOVE +#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES test1 >(); test1 >(); test1 >(); test1(); -#endif // _LIBCPP_MOVE +#endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES } -- cgit v1.2.3