re PR libstdc++/47321 (FAIL: 21_strings/basic_string/requirements/typedefs.cc (test for excess errors))

2011-01-16  Paolo Carlini  <paolo.carlini@oracle.com>

	PR libstdc++/47321
	* testsuite/21_strings/basic_string/requirements/typedefs.cc:
	Only test std::wstring when _GLIBCXX_USE_WCHAR_T is defined.

From-SVN: r168871
This commit is contained in:
Paolo Carlini 2011-01-16 20:42:57 +00:00 committed by Paolo Carlini
parent f1d4ab26bc
commit 85b1217ad1
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/47321
* testsuite/21_strings/basic_string/requirements/typedefs.cc:
Only test std::wstring when _GLIBCXX_USE_WCHAR_T is defined.
2011-01-16 François Dumont <francois.cppdevs@free.fr>
* testsuite/23_containers/forward_list/debug/erase_after1_neg.cc: Move

View File

@ -1,7 +1,7 @@
// { dg-options "-std=gnu++0x" }
// { dg-do compile }
// Copyright (C) 2009 Free Software Foundation, Inc.
// Copyright (C) 2009, 2010, 2011 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
@ -23,4 +23,6 @@
// Check container for required typedefs.
__gnu_test::types<std::string> t1;
#ifdef _GLIBCXX_USE_WCHAR_T
__gnu_test::types<std::wstring> t2;
#endif