OSDN Git Service

2010-12-01 Fran├žois Dumont <francois.cppdevs@free.fr>
authorfdumont <fdumont@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 1 Dec 2010 20:51:38 +0000 (20:51 +0000)
committerfdumont <fdumont@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 1 Dec 2010 20:51:38 +0000 (20:51 +0000)
        * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167355 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 6e7b525..933fb23 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 2360028..4df44f8 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 0c3dcf3..27d496a 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 (...)