diff mbox

[v3] libstdc++/47320

Message ID 4D335B6E.4040700@oracle.com
State New
Headers show

Commit Message

Paolo Carlini Jan. 16, 2011, 8:56 p.m. UTC
Hi,

committed to mainline.

Paolo.

/////////////////////
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.
diff mbox

Patch

Index: testsuite/18_support/numeric_limits/lowest.cc
===================================================================
--- testsuite/18_support/numeric_limits/lowest.cc	(revision 168870)
+++ testsuite/18_support/numeric_limits/lowest.cc	(working copy)
@@ -3,7 +3,7 @@ 
 
 // 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
 // software; you can redistribute it and/or modify it under the
@@ -54,7 +54,9 @@ 
   do_test<char>();
   do_test<signed char>();
   do_test<unsigned char>();
+#ifdef _GLIBCXX_USE_WCHAR_T
   do_test<wchar_t>();
+#endif
   do_test<char16_t>();
   do_test<char32_t>();