Cleanup _LIBCPP_HAS_NO_<c++11-feature> macros in the numeric tests and headers

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@300632 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Fiselier
2017-04-19 00:23:45 +00:00
parent d89c715f29
commit 97db517a49
32 changed files with 126 additions and 102 deletions

View File

@@ -7,6 +7,8 @@
//
//===----------------------------------------------------------------------===//
// UNSUPPORTED: c++98, c++03
// <random>
// class seed_seq;
@@ -19,7 +21,6 @@
int main()
{
#ifndef _LIBCPP_HAS_NO_GENERALIZED_INITIALIZERS
std::seed_seq s= {5, 4, 3, 2, 1};
assert(s.size() == 5);
unsigned b[5] = {0};
@@ -29,5 +30,4 @@ int main()
assert(b[2] == 3);
assert(b[3] == 2);
assert(b[4] == 1);
#endif // _LIBCPP_HAS_NO_GENERALIZED_INITIALIZERS
}