diff options
author | Michael Chastain <mec@google.com> | 2004-01-08 09:41:48 +0000 |
---|---|---|
committer | Michael Chastain <mec@google.com> | 2004-01-08 09:41:48 +0000 |
commit | 77c26ae3f453b4822124c65a0f4874e9af307dde (patch) | |
tree | f91d227a98ba8dbcfbfa16f0acdf0958a77364a2 /gdb/testsuite/gdb.cp/bs15503.cc | |
parent | 207574861e959cce25c344fda9aa089772e263d4 (diff) | |
download | binutils-gdb-77c26ae3f453b4822124c65a0f4874e9af307dde.tar.gz |
2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
* gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
boilerplate code for compiling and running the program under
test. Add some string method tests.
Diffstat (limited to 'gdb/testsuite/gdb.cp/bs15503.cc')
-rw-r--r-- | gdb/testsuite/gdb.cp/bs15503.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.cp/bs15503.cc b/gdb/testsuite/gdb.cp/bs15503.cc index 13f4377275a..aec5a0b8fcb 100644 --- a/gdb/testsuite/gdb.cp/bs15503.cc +++ b/gdb/testsuite/gdb.cp/bs15503.cc @@ -1,6 +1,6 @@ /* This testcase is part of GDB, the GNU debugger. - Copyright 1992 Free Software Foundation, Inc. + Copyright 1992, 2004 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -20,7 +20,8 @@ bug-gdb@prep.ai.mit.edu */ #include <string> -#include <iostream.h> +#include <iostream> +using namespace std; template <class T> class StringTest { |