Dead
[official-gcc.git] / gomp-20050608-branch / gcc / testsuite / g++.dg / template / static10.C
blobab857bd814e28fdd4e2c844ad39e09a5aa6e7719
1 // PR c++/19555
3 namespace __gnu_debug_def { }
4 namespace std
6   using namespace __gnu_debug_def;
7   template<typename _Tp> class allocator {};
9 namespace __gnu_debug_def
11   template<typename _Tp,
12     typename _Allocator = std::allocator<_Tp> >
13     class vector
14     {
15       void
16       swap(vector<_Tp,_Allocator>& __x);
17     };
19 namespace std
21   template<> void
22   vector<int, allocator<int> >::swap(vector<int, allocator<int> >&) { } // { dg-error "" }