]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
2.cc: Fix to explicitely invoke the copy construtor with or without C++0x mode.
authorFrançois Dumont <francois.cppdevs@free.fr>
Wed, 1 Dec 2010 20:51:38 +0000 (21:51 +0100)
committerFrançois Dumont <fdumont@gcc.gnu.org>
Wed, 1 Dec 2010 20:51:38 +0000 (20:51 +0000)
2010-12-01  François Dumont  <francois.cppdevs@free.fr>

        * testsuite/23_containers/deque/cons/2.cc: Fix to explicitely invoke
        the copy construtor with or without C++0x mode.
        * testsuite/23_containers/vector/cons/4.cc: Likewise.

From-SVN: r167355

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/23_containers/deque/cons/2.cc
libstdc++-v3/testsuite/23_containers/vector/cons/4.cc

index 6e7b5255c25c618ffe0fad93a6dbe22496d081ed..933fb231b2e89af49cf3de1f0f80e0de9549cb65 100644 (file)
@@ -1,3 +1,9 @@
+2010-12-01  François Dumont  <francois.cppdevs@free.fr>
+
+       * testsuite/23_containers/deque/cons/2.cc: Fix to explicitely invoke
+       the copy construtor with or without C++0x mode.
+       * testsuite/23_containers/vector/cons/4.cc: Likewise.
+                       
 2010-12-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
 
        * scripts/extract_symvers.pl: New file.
index 23600284e72b1be34d232bc6554abe1d7a0985d8..4df44f8eb72e62e6db827a0ebb02f7238006c589 100644 (file)
@@ -454,7 +454,8 @@ test_default_ctor_exception_safety()
   // test
   try
   {
-    X a(7);
+    T ref;
+    X a(7, ref);
     VERIFY( false );
   }
   catch (...)
index 0c3dcf3b4692569181937f4cc0c25db9ebeba976..27d496ac9618177d49bea8eabd2e742d1f2f9ebc 100644 (file)
@@ -50,7 +50,8 @@ test_default_ctor_exception_gurantee()
   // run test
   try
   {
-    X a(7);
+    T ref;
+    X a(7, ref);
     VERIFY(false);
   }
   catch (...)