X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=libstdc%2B%2B-v3%2Ftestsuite%2F23_containers%2Fvector%2Fcons%2F2.cc;fp=libstdc%2B%2B-v3%2Ftestsuite%2F23_containers%2Fvector%2Fcons%2F2.cc;h=ecee79d85d50a93c5a0fd6aeb5b3e40aae1de8a5;hb=7b2f3869a863b73bd037720d43c714d3c0c93846;hp=03f84d8b231727eb6b180fead36d48ee5e36cac2;hpb=9b406a2eb2137ee1f6dc91f651396b81397e0e33;p=pf3gnuchains%2Fgcc-fork.git diff --git a/libstdc++-v3/testsuite/23_containers/vector/cons/2.cc b/libstdc++-v3/testsuite/23_containers/vector/cons/2.cc index 03f84d8b231..ecee79d85d5 100644 --- a/libstdc++-v3/testsuite/23_containers/vector/cons/2.cc +++ b/libstdc++-v3/testsuite/23_containers/vector/cons/2.cc @@ -1,6 +1,6 @@ // 1999-06-29 bkoz -// Copyright (C) 1999-2001, 2002, 2003 Free Software Foundation, Inc. +// Copyright (C) 1999-2001, 2002, 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 @@ -41,9 +41,15 @@ void test02() std::vector v2(v1); } +#if !__GXX_WEAK__ && _MT_ALLOCATOR_H +// Explicitly instantiate for systems with no COMDAT or weak support. +template class __gnu_cxx::__mt_alloc; +template class __gnu_cxx::__mt_alloc; +template class __gnu_cxx::__mt_alloc >; +#endif + int main() { test02(); - return 0; }