summaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite
diff options
context:
space:
mode:
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2000-10-25 12:48:34 +0000
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2000-10-25 12:48:34 +0000
commit450017f97e5c2ee32f31cc7f9cb6f1e9d7182672 (patch)
treecf4ef8a61972d942542abec143917fd819700265 /libstdc++-v3/testsuite
parent9ad25a0205c185a734fc2a97819c82a9382ed2d8 (diff)
downloadgcc-450017f97e5c2ee32f31cc7f9cb6f1e9d7182672.tar.gz
2000-10-24 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/stl_pair.h (make_pair): Add LWG solution. * testsuite/21_strings/compare.cc (test01): Inject namespace std into the mix. * mkcheck.in (MAX_MEM_USAGE): Bump up to 3072. Strangely enough, this works. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37049 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/testsuite')
-rw-r--r--libstdc++-v3/testsuite/21_strings/compare.cc10
1 files changed, 4 insertions, 6 deletions
diff --git a/libstdc++-v3/testsuite/21_strings/compare.cc b/libstdc++-v3/testsuite/21_strings/compare.cc
index 16055ff3481..ba10e61f5cf 100644
--- a/libstdc++-v3/testsuite/21_strings/compare.cc
+++ b/libstdc++-v3/testsuite/21_strings/compare.cc
@@ -71,13 +71,11 @@ test_value(int result, want_value expected)
int
test01()
{
- std::string str_0("costa rica");
- std::string str_1("costa marbella");
- std::string str_2;
+ using namespace std;
- using std::strcmp;
- using std::strncmp;
- using std::memcmp;
+ string str_0("costa rica");
+ string str_1("costa marbella");
+ string str_2;
//sanity check
test_value(strcmp("costa marbella", "costa rica"), lt);