OSDN Git Service

2004-03-04 Benjamin Kosnik <bkoz@redhat.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / testsuite / 23_containers / multimap / invalidation / 2.cc
index c6f659e..1025576 100644 (file)
@@ -65,6 +65,11 @@ void test02()
   VERIFY(!finish._M_singular() && !finish._M_dereferenceable());
 }
 
+#if !__GXX_WEAK__ && _MT_ALLOCATOR_H
+// Explicitly instantiate for systems with no COMDAT or weak support.
+template class __gnu_cxx::__mt_alloc<std::_Rb_tree_node<std::pair<int const, int> > >;
+#endif
+
 int main()
 {
   test02();