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
This commit is contained in:
François Dumont 2010-12-01 21:51:38 +01:00 committed by François Dumont
parent 2f64ad0f48
commit 7165791eb5
3 changed files with 10 additions and 2 deletions

View 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.

View file

@ -454,7 +454,8 @@ test_default_ctor_exception_safety()
// test
try
{
X a(7);
T ref;
X a(7, ref);
VERIFY( false );
}
catch (...)

View 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 (...)