OSDN Git Service

2004-03-09 Benjamin Kosnik <bkoz@redhat.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / testsuite / 23_containers / deque / modifiers / swap.cc
index 12cfa74..43dc686 100644 (file)
@@ -54,6 +54,11 @@ void test02()
   VERIFY(1 == swap_calls);
 }
 
+#if !__GXX_WEAK__ && _MT_ALLOCATOR_H
+template class __gnu_cxx::__mt_alloc<T>;
+template class __gnu_cxx::__mt_alloc<T*>;
+#endif
+
 // See c++/13658 for background info.
 int main()
 {