Return-Path: Delivered-To: apmail-stdcxx-commits-archive@www.apache.org Received: (qmail 51337 invoked from network); 8 Sep 2008 17:29:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Sep 2008 17:29:45 -0000 Received: (qmail 37208 invoked by uid 500); 8 Sep 2008 17:29:42 -0000 Delivered-To: apmail-stdcxx-commits-archive@stdcxx.apache.org Received: (qmail 37177 invoked by uid 500); 8 Sep 2008 17:29:42 -0000 Mailing-List: contact commits-help@stdcxx.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@stdcxx.apache.org Delivered-To: mailing list commits@stdcxx.apache.org Received: (qmail 37168 invoked by uid 99); 8 Sep 2008 17:29:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Sep 2008 10:29:42 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Sep 2008 17:28:52 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 511F92388878; Mon, 8 Sep 2008 10:29:24 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r693172 - /stdcxx/branches/4.3.x/tests/regress/25.uninitialized.copy.stdcxx-976.cpp Date: Mon, 08 Sep 2008 17:29:24 -0000 To: commits@stdcxx.apache.org From: faridz@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080908172924.511F92388878@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: faridz Date: Mon Sep 8 10:29:23 2008 New Revision: 693172 URL: http://svn.apache.org/viewvc?rev=693172&view=rev Log: 2008-09-08 Farid Zaripov 2008-08-22 Farid Zaripov Merged r688053 from branches/4.2.x * tests/regress/25.uninitialized.copy.stdcxx-976.cpp: Extended test case. Modified: stdcxx/branches/4.3.x/tests/regress/25.uninitialized.copy.stdcxx-976.cpp Modified: stdcxx/branches/4.3.x/tests/regress/25.uninitialized.copy.stdcxx-976.cpp URL: http://svn.apache.org/viewvc/stdcxx/branches/4.3.x/tests/regress/25.uninitialized.copy.stdcxx-976.cpp?rev=693172&r1=693171&r2=693172&view=diff ============================================================================== --- stdcxx/branches/4.3.x/tests/regress/25.uninitialized.copy.stdcxx-976.cpp (original) +++ stdcxx/branches/4.3.x/tests/regress/25.uninitialized.copy.stdcxx-976.cpp Mon Sep 8 10:29:23 2008 @@ -52,6 +52,17 @@ bool operator!= (const InputIterator &rhs) const { return p_ != rhs.p_; } }; +class Test +{ + // private and not defined + Test (const Test&); + +public: + Test () {} + Test (Test&) {} + ~Test () {} +}; + int main () { @@ -68,5 +79,12 @@ std::uninitialized_copy (VIter (src), VIter (src + 5), dst); std::uninitialized_copy (CVIter (src), CVIter (src + 5), dst); + + Test test; + volatile Test vtest; + + std::uninitialized_copy (&test, &test, &test); + std::uninitialized_copy (&test, &test, &vtest); + return 0; }