// Deque iterator invalidation tests
-// Copyright (C) 2003 Free Software Foundation, Inc.
+// Copyright (C) 2003, 2004 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// Insert multiple copies
before = v.begin() + 6;
at = before + 1;
+
v.insert(at, 3, 42);
VERIFY(before._M_singular());
VERIFY(at._M_singular());
VERIFY(at._M_singular());
}
+#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()
{
test03();
- return !test;
+ return 0;
}