diff options
| author | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-10-30 18:59:00 +0000 |
|---|---|---|
| committer | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-10-30 18:59:00 +0000 |
| commit | 208afc77048eda8bf9dd7a87e535de7f35167292 (patch) | |
| tree | c532c191a53f35ab1b5cf70fdbe466f9420b59eb | |
| parent | e2c5111e1e7a82e44c862e1aefa86604cd194a07 (diff) | |
| download | ppe42-gcc-208afc77048eda8bf9dd7a87e535de7f35167292.tar.gz ppe42-gcc-208afc77048eda8bf9dd7a87e535de7f35167292.zip | |
2006-10-30 Paolo Carlini <pcarlini@suse.de>
* testsuite/tr1/6_containers/array/capacity/max_size.cc: Actually
do test max_size().
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@118194 138bc75d-0d04-0410-961f-82ee72b054a4
| -rw-r--r-- | libstdc++-v3/ChangeLog | 5 | ||||
| -rw-r--r-- | libstdc++-v3/testsuite/tr1/6_containers/array/capacity/max_size.cc | 7 |
2 files changed, 8 insertions, 4 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 9274108fdcc..d766ecf272a 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2006-10-30 Paolo Carlini <pcarlini@suse.de> + + * testsuite/tr1/6_containers/array/capacity/max_size.cc: Actually + do test max_size(). + 2006-10-30 Joseph Myers <joseph@codesourcery.com> * testsuite/config/default.exp (${tool}_target_compile): Use diff --git a/libstdc++-v3/testsuite/tr1/6_containers/array/capacity/max_size.cc b/libstdc++-v3/testsuite/tr1/6_containers/array/capacity/max_size.cc index bb04ab151a0..22e0c7b503a 100644 --- a/libstdc++-v3/testsuite/tr1/6_containers/array/capacity/max_size.cc +++ b/libstdc++-v3/testsuite/tr1/6_containers/array/capacity/max_size.cc @@ -1,6 +1,6 @@ // 2004-10-20 Benjamin Kosnik <bkoz@redhat.com> // -// Copyright (C) 2004 Free Software Foundation, Inc. +// Copyright (C) 2004, 2005, 2006 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -32,7 +32,7 @@ test01() bool test __attribute__((unused)) = true; array_type a = { 0, 1, 2, 3, 4 }; - VERIFY( a.size() == len ); + VERIFY( a.max_size() == len ); } { @@ -41,7 +41,7 @@ test01() bool test __attribute__((unused)) = true; array_type a; - VERIFY( a.size() == len ); + VERIFY( a.max_size() == len ); } } @@ -50,4 +50,3 @@ int main() test01(); return 0; } - |

