Commit 72c9b062 by Phil Edwards

capacity.cc: Only explicitly instantiate on platforms with no weak support.

2002-03-11  Phil Edwards  <pme@gcc.gnu.org>

	* testsuite/21_strings/capacity.cc:  Only explicitly instantiate on
	platforms with no weak support.
	* testsuite/27_io/ios_init.cc:  Likewise.

From-SVN: r50597
parent ab04e34b
2002-03-11 Phil Edwards <pme@gcc.gnu.org>
* testsuite/21_strings/capacity.cc: Only explicitly instantiate on
platforms with no weak support.
* testsuite/27_io/ios_init.cc: Likewise.
2002-03-10 Paolo Carlini <pcarlini@unitus.it>
* include/bits/locale_facets.tcc (time_put::do_put):
......
......@@ -188,6 +188,7 @@ bool test02()
return test;
}
#if !__GXX_WEAK__
// Explicitly instantiate for systems with no COMDAT or weak support.
template
std::basic_string< A<B> >::size_type
......@@ -196,6 +197,7 @@ template
template
A<B>
std::basic_string< A<B> >::_Rep::_S_terminal;
#endif
int main()
{
......
......@@ -132,6 +132,7 @@ void test02()
VERIFY( test );
}
#if !__GXX_WEAK__
// Explicitly instantiate for systems with no COMDAT or weak support.
template
std::basic_string<unsigned short>::size_type
......@@ -140,6 +141,7 @@ template
template
unsigned short
std::basic_string<unsigned short>::_Rep::_S_terminal;
#endif
int main()
{
......
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