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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [template/] [static10.C] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
// 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.