hash.cc: Guard wchar_t use with _GLIBCXX_USE_WCHAR_T.

2005-02-24  Benjamin Kosnik  <bkoz@redhat.com>

	* testsuite/tr1/6_containers/unordered/instantiate/hash.cc: Guard
	wchar_t use with _GLIBCXX_USE_WCHAR_T.

From-SVN: r95514
This commit is contained in:
Benjamin Kosnik 2005-02-24 21:32:53 +00:00 committed by Benjamin Kosnik
parent 04fa46cf67
commit 4b2420b0d3
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-02-24 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/tr1/6_containers/unordered/instantiate/hash.cc: Guard
wchar_t use with _GLIBCXX_USE_WCHAR_T.
2005-02-24 Benjamin Kosnik <bkoz@redhat.com>
* include/std/std_complex.h: _GLIBCXX_USE_C99_COMPLEX_MATH to

View File

@ -35,7 +35,6 @@ int main()
hash<char> hc;
hash<signed char> hsc;
hash<unsigned char> huc;
hash<wchar_t> hw;
hash<short> hs;
hash<int> hi;
hash<long> hl;
@ -47,5 +46,9 @@ int main()
hash<long double> hld;
hash<void*> hp;
hash<std::string> hstr;
#ifdef _GLIBCXX_USE_WCHAR_T
hash<wchar_t> hw;
hash<std::wstring> hwstr;
#endif
}