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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [template/] [static10.C] - Blame information for rev 693

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// PR c++/19555
2
 
3
namespace __gnu_debug_def { }
4
namespace std
5
{
6
  using namespace __gnu_debug_def;
7
  template class allocator {}; // { dg-message "std::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
  // { dg-message "suggested alternative" "suggested alternative" { target *-*-* } 22 }
24
}

powered by: WebSVN 2.1.0

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