summaryrefslogtreecommitdiffstats
path: root/libcxx/test/numerics/rand
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2011-04-11 18:22:12 +0000
committerHoward Hinnant <hhinnant@apple.com>2011-04-11 18:22:12 +0000
commita23551cad4ba20fe8132752078f34a824b7cbda0 (patch)
tree7e1fd657ee080af12ffa18e2e23e494bfe384864 /libcxx/test/numerics/rand
parent9377a52c1278a9a0435651af1f7062837e00ca4c (diff)
downloadbcm5719-llvm-a23551cad4ba20fe8132752078f34a824b7cbda0.tar.gz
bcm5719-llvm-a23551cad4ba20fe8132752078f34a824b7cbda0.zip
Fix bug in Sseq constraints found by Seth Cantrell
llvm-svn: 129285
Diffstat (limited to 'libcxx/test/numerics/rand')
-rw-r--r--libcxx/test/numerics/rand/rand.eng/rand.eng.mers/copy.pass.cpp2
-rw-r--r--libcxx/test/numerics/rand/rand.eng/rand.eng.sub/copy.pass.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/test/numerics/rand/rand.eng/rand.eng.mers/copy.pass.cpp b/libcxx/test/numerics/rand/rand.eng/rand.eng.mers/copy.pass.cpp
index 322ba3ea7db..57c015ccce1 100644
--- a/libcxx/test/numerics/rand/rand.eng/rand.eng.mers/copy.pass.cpp
+++ b/libcxx/test/numerics/rand/rand.eng/rand.eng.mers/copy.pass.cpp
@@ -40,7 +40,7 @@ test2()
typedef std::mt19937_64 E;
E e1;
e1();
- E e2 = e1;
+ E e2(e1);
assert(e1 == e2);
assert(e1() == e2());
E::result_type k = e1();
diff --git a/libcxx/test/numerics/rand/rand.eng/rand.eng.sub/copy.pass.cpp b/libcxx/test/numerics/rand/rand.eng/rand.eng.sub/copy.pass.cpp
index 4c5ac8f83b9..27f88165bcf 100644
--- a/libcxx/test/numerics/rand/rand.eng/rand.eng.sub/copy.pass.cpp
+++ b/libcxx/test/numerics/rand/rand.eng/rand.eng.sub/copy.pass.cpp
@@ -38,7 +38,7 @@ test2()
typedef std::ranlux48_base E;
E e1;
e1();
- E e2 = e1;
+ E e2(e1);
assert(e1 == e2);
assert(e1() == e2());
E::result_type k = e1();
OpenPOWER on IntegriCloud