aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/22_locale/operators.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/testsuite/22_locale/operators.cc')
-rw-r--r--libstdc++-v3/testsuite/22_locale/operators.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/libstdc++-v3/testsuite/22_locale/operators.cc b/libstdc++-v3/testsuite/22_locale/operators.cc
index 9037dd872be..f0e40d4a116 100644
--- a/libstdc++-v3/testsuite/22_locale/operators.cc
+++ b/libstdc++-v3/testsuite/22_locale/operators.cc
@@ -1,6 +1,6 @@
// 2000-09-11 Benjamin Kosnik <bkoz@redhat.com>
-// Copyright (C) 2000, 2001 Free Software Foundation
+// Copyright (C) 2000, 2001, 2002 Free Software Foundation
//
// 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
@@ -47,9 +47,9 @@ void test01()
}
// bool operator()(const string_type&, const string_type&) const
-typedef std::collate<char> ccollate;
long gnu_count;
-class gnu_collate: public ccollate
+
+class gnu_collate: public std::collate<char>
{
protected:
virtual int
@@ -79,7 +79,7 @@ void test02()
int main ()
{
test01();
-
+ test02();
return 0;
}