1.cc: Add instantiations for systems with no COMDAT or weak support.

2004-07-04  Paolo Carlini  <pcarlini@suse.de>

	* testsuite/25_algorithms/copy/1.cc: Add instantiations for
	systems with no COMDAT or weak support.
	* testsuite/25_algorithms/copy/2.cc: Likewise.
	* testsuite/25_algorithms/copy/3.cc: Likewise.
	* testsuite/25_algorithms/copy/4.cc: Likewise.

From-SVN: r84076
This commit is contained in:
Paolo Carlini 2004-07-04 11:05:14 +00:00 committed by Paolo Carlini
parent 1657a8095b
commit f1ee6eca25
5 changed files with 30 additions and 0 deletions

View File

@ -1,3 +1,11 @@
2004-07-04 Paolo Carlini <pcarlini@suse.de>
* testsuite/25_algorithms/copy/1.cc: Add instantiations for
systems with no COMDAT or weak support.
* testsuite/25_algorithms/copy/2.cc: Likewise.
* testsuite/25_algorithms/copy/3.cc: Likewise.
* testsuite/25_algorithms/copy/4.cc: Likewise.
2004-07-03 Paul Brook <paul@codesourcery.com>
* configure.ac: Set ABI_TWEAKS_SRCDIR.

View File

@ -56,6 +56,11 @@ test01()
VERIFY( equal(s2, s2 + N, A) );
}
#if !__GXX_WEAK__ && _MT_ALLOCATOR_H
// Explicitly instantiate for systems with no COMDAT or weak support.
template class __gnu_cxx::__mt_alloc<int>;
#endif
int
main()
{

View File

@ -57,6 +57,11 @@ test01()
VERIFY( equal(s2, s2 + N, a.begin()) );
}
#if !__GXX_WEAK__ && _MT_ALLOCATOR_H
// Explicitly instantiate for systems with no COMDAT or weak support.
template class __gnu_cxx::__mt_alloc<int>;
#endif
int
main()
{

View File

@ -58,6 +58,12 @@ test01()
VERIFY( equal(s2, s2 + N, a.begin()) );
}
#if !__GXX_WEAK__ && _MT_ALLOCATOR_H
// Explicitly instantiate for systems with no COMDAT or weak support.
template class __gnu_cxx::__mt_alloc<int*>;
template class __gnu_cxx::__mt_alloc<int>;
#endif
int
main()
{

View File

@ -58,6 +58,12 @@ test01()
VERIFY( equal(s2, s2 + N, a.begin()) );
}
#if !__GXX_WEAK__ && _MT_ALLOCATOR_H
// Explicitly instantiate for systems with no COMDAT or weak support.
template class __gnu_cxx::__mt_alloc<std::_List_node<int> >;
template class __gnu_cxx::__mt_alloc<int>;
#endif
int
main()
{