Clean up more usages of _LIBCPP_HAS_NO_RVALUE_REFERENCES

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@296854 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Fiselier
2017-03-03 03:43:25 +00:00
parent 04732df052
commit f4dfb45247
15 changed files with 25 additions and 58 deletions

View File

@@ -7,6 +7,8 @@
//
//===----------------------------------------------------------------------===//
// UNSUPPORTED: c++98, c++03
// <valarray>
// template<class T> class valarray;
@@ -20,7 +22,6 @@
int main()
{
#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES
{
typedef int T;
T a[] = {1, 2, 3, 4, 5};
@@ -58,5 +59,4 @@ int main()
assert(v2[i][j] == a[i][j]);
}
}
#endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES
}