From fa8df7db88eae528ccaabea6f323165f087bf88a Mon Sep 17 00:00:00 2001 From: Howard Hinnant Date: Wed, 15 Feb 2012 20:13:52 +0000 Subject: tuple was accidentally lacking a valid copy assignment operator. It went undetected because I had failed to test assigning from a const lvalue. This fixes http://llvm.org/bugs/show_bug.cgi?id=11921 llvm-svn: 150613 --- libcxx/test/utilities/tuple/tuple.tuple/tuple.cnstr/copy.pass.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libcxx/test/utilities/tuple/tuple.tuple/tuple.cnstr/copy.pass.cpp') diff --git a/libcxx/test/utilities/tuple/tuple.tuple/tuple.cnstr/copy.pass.cpp b/libcxx/test/utilities/tuple/tuple.tuple/tuple.cnstr/copy.pass.cpp index 0f0d1fb9e16..7de3ef61c6d 100644 --- a/libcxx/test/utilities/tuple/tuple.tuple/tuple.cnstr/copy.pass.cpp +++ b/libcxx/test/utilities/tuple/tuple.tuple/tuple.cnstr/copy.pass.cpp @@ -39,7 +39,7 @@ int main() } { typedef std::tuple T; - T t0(2, 'a', "some text"); + const T t0(2, 'a', "some text"); T t = t0; assert(std::get<0>(t) == 2); assert(std::get<1>(t) == 'a'); -- cgit v1.2.3