diff options
| author | cvs2svn <cvs2svn@FreeBSD.org> | 2002-12-04 17:08:09 +0000 |
|---|---|---|
| committer | cvs2svn <cvs2svn@FreeBSD.org> | 2002-12-04 17:08:09 +0000 |
| commit | 4c3c403e5c73273497d72584701d0e4a79328d05 (patch) | |
| tree | f25eac871a7948610ebdd334dbbffd2ccf0e075b /contrib/libstdc++/tests/tvector.cc | |
| parent | e3dd383f0088d7ec9c67022680e31a5b756d4258 (diff) | |
Diffstat (limited to 'contrib/libstdc++/tests/tvector.cc')
| -rw-r--r-- | contrib/libstdc++/tests/tvector.cc | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/contrib/libstdc++/tests/tvector.cc b/contrib/libstdc++/tests/tvector.cc deleted file mode 100644 index ef238ef52da5..000000000000 --- a/contrib/libstdc++/tests/tvector.cc +++ /dev/null @@ -1,20 +0,0 @@ -#include <vector.h> -#include <iostream.h> -#include <algo.h> - -main () -{ - cout << "Fill of C array:\n"; - char x[50]; - fill (x, x+50, '/'); - fill (x+1, x+49, '*'); - copy (x, x+50, ostream_iterator<char>(cout)); - - cout << "\nFill of vector<char>:\n"; - - vector<char> cvec; - cvec.insert (cvec.begin(), 50, '/'); - fill (cvec.begin()+1, cvec.end()-1, '-'); - copy (cvec.begin(), cvec.end(), ostream_iterator<char>(cout)); - cout << endl; -} |
