Commit 89a5f486 by Paolo Carlini Committed by Paolo Carlini

re PR libstdc++/47320 (FAIL: 18_support/numeric_limits/lowest.cc execution test)

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

	PR libstdc++/47320
	* testsuite/18_support/numeric_limits/lowest.cc:
	Only test wchar_t when _GLIBCXX_USE_WCHAR_T is defined.

From-SVN: r168873
parent d6713cb8
2011-01-16 Paolo Carlini <paolo.carlini@oracle.com> 2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/47320
* testsuite/18_support/numeric_limits/lowest.cc:
Only test wchar_t when _GLIBCXX_USE_WCHAR_T is defined.
2011-01-16 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/47321 PR libstdc++/47321
* testsuite/21_strings/basic_string/requirements/typedefs.cc: * testsuite/21_strings/basic_string/requirements/typedefs.cc:
Only test std::wstring when _GLIBCXX_USE_WCHAR_T is defined. Only test std::wstring when _GLIBCXX_USE_WCHAR_T is defined.
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
// 2010-02-25 Ed Smith-Rowland // 2010-02-25 Ed Smith-Rowland
// Copyright (C) 2010 Free Software Foundation // Copyright (C) 2010, 2011 Free Software Foundation
// //
// This file is part of the GNU ISO C++ Library. This library is free // 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 // software; you can redistribute it and/or modify it under the
...@@ -54,7 +54,9 @@ void test01() ...@@ -54,7 +54,9 @@ void test01()
do_test<char>(); do_test<char>();
do_test<signed char>(); do_test<signed char>();
do_test<unsigned char>(); do_test<unsigned char>();
#ifdef _GLIBCXX_USE_WCHAR_T
do_test<wchar_t>(); do_test<wchar_t>();
#endif
do_test<char16_t>(); do_test<char16_t>();
do_test<char32_t>(); do_test<char32_t>();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment