OpenCores
URL https://opencores.org/ocsvn/scarts/scarts/trunk

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [g++.dg/] [template/] [static10.C] - Blame information for rev 12

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 12 jlechner
// PR c++/19555
2
 
3
namespace __gnu_debug_def { }
4
namespace std
5
{
6
  using namespace __gnu_debug_def;
7
  template class allocator {};
8
}
9
namespace __gnu_debug_def
10
{
11
  template
12
    typename _Allocator = std::allocator<_Tp> >
13
    class vector
14
    {
15
      void
16
      swap(vector<_Tp,_Allocator>& __x);
17
    };
18
}
19
namespace std
20
{
21
  template<> void
22
  vector >::swap(vector >&) { } // { dg-error "" }
23
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.