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

Subversion Repositories openrisc

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

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// { dg-do compile }
2
 
3
// PR c++/6440: Specialization of member class template.
4
 
5
template struct A
6
{
7
  template struct B {};
8
};
9
 
10
template<> template
11
struct A::B
12
{
13
  void f();
14
  template  void g(V);
15
};
16
 
17
template<> template<> template  void A::B::g(V)
18
{
19
}
20
 
21
A::B b;
22
 
23
int h()
24
{
25
  b.f();
26
  b.g(0);
27
}

powered by: WebSVN 2.1.0

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