Commit 7165791e by François Dumont Committed by François Dumont

2.cc: Fix to explicitely invoke the copy construtor with or without C++0x mode.

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
parent 2f64ad0f
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> 2010-12-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* scripts/extract_symvers.pl: New file. * scripts/extract_symvers.pl: New file.
......
...@@ -454,7 +454,8 @@ test_default_ctor_exception_safety() ...@@ -454,7 +454,8 @@ test_default_ctor_exception_safety()
// test // test
try try
{ {
X a(7); T ref;
X a(7, ref);
VERIFY( false ); VERIFY( false );
} }
catch (...) catch (...)
......
...@@ -50,7 +50,8 @@ test_default_ctor_exception_gurantee() ...@@ -50,7 +50,8 @@ test_default_ctor_exception_gurantee()
// run test // run test
try try
{ {
X a(7); T ref;
X a(7, ref);
VERIFY(false); VERIFY(false);
} }
catch (...) catch (...)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment