Fix bug in Sseq constraints found by Seth Cantrell

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@129285 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Howard Hinnant
2011-04-11 18:22:12 +00:00
parent 9dbeff919b
commit ef3b2e2e34
3 changed files with 24 additions and 14 deletions

View File

@@ -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();