check_allocate_max_size.cpp: Add explicit instantiations for systems without weak symbols.
* testsuite/ext/bitmap_allocator/check_allocate_max_size.cpp: Add explicit instantiations for systems without weak symbols. * testsuite/ext/bitmap_allocator/check_deallocate_null.cc: Likewise. From-SVN: r98486
This commit is contained in:
parent
a94400fda3
commit
d3e53108dd
@ -1,3 +1,10 @@
|
||||
2005-04-20 Mark Mitchell <mark@codesourcery.com>
|
||||
|
||||
* testsuite/ext/bitmap_allocator/check_allocate_max_size.cpp: Add
|
||||
explicit instantiations for systems without weak symbols.
|
||||
* testsuite/ext/bitmap_allocator/check_deallocate_null.cc:
|
||||
Likewise.
|
||||
|
||||
2005-04-18 Jonathan Wakely <redi@gcc.gnu.org>
|
||||
|
||||
* include/bits/stl_algo.h (rotate_copy): Add missing std qualification.
|
||||
|
@ -22,10 +22,16 @@
|
||||
#include <ext/bitmap_allocator.h>
|
||||
#include <testsuite_allocator.h>
|
||||
|
||||
typedef int value_type;
|
||||
|
||||
int main()
|
||||
{
|
||||
typedef int value_type;
|
||||
typedef __gnu_cxx::bitmap_allocator<value_type> allocator_type;
|
||||
__gnu_test::check_allocate_max_size<allocator_type>();
|
||||
return 0;
|
||||
}
|
||||
|
||||
#if !__GXX_WEAK
|
||||
// Explicitly instantiatiate for systems without weak symbols.
|
||||
template class __gnu_cxx::bitmap_allocator<value_type>;
|
||||
#endif
|
||||
|
@ -22,10 +22,18 @@
|
||||
#include <ext/bitmap_allocator.h>
|
||||
#include <testsuite_allocator.h>
|
||||
|
||||
typedef int value_type;
|
||||
|
||||
int main()
|
||||
{
|
||||
typedef int value_type;
|
||||
typedef __gnu_cxx::bitmap_allocator<value_type> allocator_type;
|
||||
__gnu_test::check_deallocate_null<allocator_type>();
|
||||
return 0;
|
||||
}
|
||||
|
||||
#if !__GXX_WEAK
|
||||
// Explicitly instantiatiate for systems without weak symbols.
|
||||
template class __gnu_cxx::bitmap_allocator<value_type>;
|
||||
#endif
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user