diff options
author | Howard Hinnant <hhinnant@apple.com> | 2011-08-12 21:56:02 +0000 |
---|---|---|
committer | Howard Hinnant <hhinnant@apple.com> | 2011-08-12 21:56:02 +0000 |
commit | 54976f2619ab9ccd321acf46dde4c15baeb84694 (patch) | |
tree | 43d2d54cc7b628da57bae18fb1031d29fb32896f /libcxx/test/numerics/rand/rand.util | |
parent | c53dd2ac01eb3044da996ad5b8d30ef85a18cda5 (diff) | |
download | bcm5719-llvm-54976f2619ab9ccd321acf46dde4c15baeb84694.tar.gz bcm5719-llvm-54976f2619ab9ccd321acf46dde4c15baeb84694.zip |
Fixed PR10574: http://llvm.org/bugs/show_bug.cgi?id=10574
llvm-svn: 137522
Diffstat (limited to 'libcxx/test/numerics/rand/rand.util')
-rw-r--r-- | libcxx/test/numerics/rand/rand.util/rand.util.seedseq/initializer_list.pass.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/test/numerics/rand/rand.util/rand.util.seedseq/initializer_list.pass.cpp b/libcxx/test/numerics/rand/rand.util/rand.util.seedseq/initializer_list.pass.cpp index 7e3fc734d69..d4ee9c14d52 100644 --- a/libcxx/test/numerics/rand/rand.util/rand.util.seedseq/initializer_list.pass.cpp +++ b/libcxx/test/numerics/rand/rand.util/rand.util.seedseq/initializer_list.pass.cpp @@ -19,7 +19,7 @@ int main() { -#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES +#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 +29,5 @@ int main() assert(b[2] == 3); assert(b[3] == 2); assert(b[4] == 1); -#endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES +#endif // _LIBCPP_HAS_NO_GENERALIZED_INITIALIZERS } |