diff options
author | Chris Fairles <cfairles@gcc.gnu.org> | 2008-10-10 12:33:26 +0000 |
---|---|---|
committer | Chris Fairles <cfairles@gcc.gnu.org> | 2008-10-10 12:33:26 +0000 |
commit | 87ad508134223e9ba43fc0ce21b8d5d6981b1ebc (patch) | |
tree | 54103d9c7e51cb65e82923735a42b806014ff05f | |
parent | 09775c40fd00101061a4f7599403b252a05910b6 (diff) | |
download | gcc-87ad508134223e9ba43fc0ce21b8d5d6981b1ebc.zip gcc-87ad508134223e9ba43fc0ce21b8d5d6981b1ebc.tar.gz gcc-87ad508134223e9ba43fc0ce21b8d5d6981b1ebc.tar.bz2 |
1.cc: Remove invalid check of uninitialized duration.
2008-10-10 Chris Fairles <cfairles@gcc.gnu.org>
* testsuite/20_util/duration/cons/1.cc: Remove invalid check of
uninitialized duration.
From-SVN: r141038
-rw-r--r-- | libstdc++-v3/ChangeLog | 5 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/20_util/duration/cons/1.cc | 3 |
2 files changed, 5 insertions, 3 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 80c942c..21b8bc5 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2008-10-10 Chris Fairles <cfairles@gcc.gnu.org> + + * testsuite/20_util/duration/cons/1.cc: Remove invalid check of + uninitialized duration. + 2008-10-08 Bob Walters <bob.s.walters@gmail.com> * include/bits/stl_vector.h (_Vector_base<>::_Vector_impl::_M_start, diff --git a/libstdc++-v3/testsuite/20_util/duration/cons/1.cc b/libstdc++-v3/testsuite/20_util/duration/cons/1.cc index 6d12dbb..0ada4662 100644 --- a/libstdc++-v3/testsuite/20_util/duration/cons/1.cc +++ b/libstdc++-v3/testsuite/20_util/duration/cons/1.cc @@ -110,9 +110,6 @@ test01() bool test __attribute__((unused)) = true; using std::chrono::duration; - duration<int> d0; - VERIFY(d0.count() == static_cast<duration<int>::rep>(0)); - int r = 3; duration<int> d1(r); VERIFY(d1.count() == static_cast<duration<int>::rep>(r)); |