summaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/22_locale
diff options
context:
space:
mode:
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2007-04-22 10:09:11 +0000
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2007-04-22 10:09:11 +0000
commitd74db2a71f752f9ccbea907db655b0184a2c6723 (patch)
tree74dcfc015140a2c92efd7d376c3bc03fa6d50dc6 /libstdc++-v3/testsuite/22_locale
parentaacebc7fe4a7fc93fb9266f84b4acde60ade1bad (diff)
downloadgcc-d74db2a71f752f9ccbea907db655b0184a2c6723.tar.gz
2007-04-22 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.tcc: Do not include <typeinfo>. * testsuite/27_io/basic_ios/imbue/14072.cc: Do it here. * testsuite/27_io/basic_ios/cons/char/3.cc: Likewise. * testsuite/27_io/basic_istream/sentry/pod/1.cc: Likewise. * testsuite/27_io/basic_ostream/sentry/pod/1.cc: Likewise. * testsuite/21_strings/basic_string/inserters_extractors/ pod/10081-in.cc: Likewise. * testsuite/21_strings/basic_string/inserters_extractors/ pod/10081-out.cc: Likewise. * testsuite/22_locale/locale/cons/2.cc: Likewise. * testsuite/22_locale/locale/cons/unicode.cc: Likewise. * testsuite/22_locale/numpunct/members/pod/2.cc: Likewise. * testsuite/22_locale/global_templates/1.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@124039 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/testsuite/22_locale')
-rw-r--r--libstdc++-v3/testsuite/22_locale/global_templates/1.cc4
-rw-r--r--libstdc++-v3/testsuite/22_locale/locale/cons/2.cc3
-rw-r--r--libstdc++-v3/testsuite/22_locale/locale/cons/unicode.cc1
-rw-r--r--libstdc++-v3/testsuite/22_locale/numpunct/members/pod/2.cc3
4 files changed, 8 insertions, 3 deletions
diff --git a/libstdc++-v3/testsuite/22_locale/global_templates/1.cc b/libstdc++-v3/testsuite/22_locale/global_templates/1.cc
index a3aa40fb5fc..87f9de879e7 100644
--- a/libstdc++-v3/testsuite/22_locale/global_templates/1.cc
+++ b/libstdc++-v3/testsuite/22_locale/global_templates/1.cc
@@ -1,6 +1,7 @@
// 2000-09-11 Benjamin Kosnik <bkoz@redhat.com>
-// Copyright (C) 2000 Free Software Foundation
+// Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
+// 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
@@ -22,6 +23,7 @@
#include <cwchar> // for mbstate_t
#include <locale>
+#include <typeinfo>
#include <testsuite_hooks.h>
typedef std::codecvt<char, char, std::mbstate_t> ccodecvt;
diff --git a/libstdc++-v3/testsuite/22_locale/locale/cons/2.cc b/libstdc++-v3/testsuite/22_locale/locale/cons/2.cc
index 9b2acb3645f..7d54330131c 100644
--- a/libstdc++-v3/testsuite/22_locale/locale/cons/2.cc
+++ b/libstdc++-v3/testsuite/22_locale/locale/cons/2.cc
@@ -2,7 +2,7 @@
// 2000-09-13 Benjamin Kosnik <bkoz@redhat.com>
-// Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006
+// Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
// Free Software Foundation
//
// This file is part of the GNU ISO C++ Library. This library is free
@@ -26,6 +26,7 @@
#include <cwchar> // for mbstate_t
#include <locale>
#include <stdexcept>
+#include <typeinfo>
#include <testsuite_hooks.h>
typedef std::codecvt<char, char, std::mbstate_t> c_codecvt;
diff --git a/libstdc++-v3/testsuite/22_locale/locale/cons/unicode.cc b/libstdc++-v3/testsuite/22_locale/locale/cons/unicode.cc
index 95f1f9d176d..b8b00a3f19c 100644
--- a/libstdc++-v3/testsuite/22_locale/locale/cons/unicode.cc
+++ b/libstdc++-v3/testsuite/22_locale/locale/cons/unicode.cc
@@ -23,6 +23,7 @@
#include <cwchar> // for mbstate_t
#include <locale>
#include <stdexcept>
+#include <typeinfo>
#include <testsuite_hooks.h>
#include <ext/codecvt_specializations.h>
diff --git a/libstdc++-v3/testsuite/22_locale/numpunct/members/pod/2.cc b/libstdc++-v3/testsuite/22_locale/numpunct/members/pod/2.cc
index da332d892f7..b8504462a19 100644
--- a/libstdc++-v3/testsuite/22_locale/numpunct/members/pod/2.cc
+++ b/libstdc++-v3/testsuite/22_locale/numpunct/members/pod/2.cc
@@ -1,6 +1,6 @@
// 2003-07-09 Benjamin Kosnik <bkoz@redhat.com>
-// Copyright (C) 2003, 2005 Free Software Foundation, Inc.
+// Copyright (C) 2003, 2004, 2005, 2006, 2007 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
@@ -22,6 +22,7 @@
#include <sstream>
#include <ostream>
#include <stdexcept>
+#include <typeinfo>
#include <testsuite_hooks.h>
#include <testsuite_character.h>