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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.pt/] [memclass5.C] - Blame information for rev 853

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

Line No. Rev Author Line
1 149 jeremybenn
// { dg-do run  }
2
template  struct A {
3
  template  struct B {
4
    template  static void f () { }
5
    void g () { }
6
  };
7
};
8
 
9
template 
10
void f ()
11
{
12
  A::template B::template f ();
13
  typename A::template B b;
14
  typename A::template B b2;
15
  b.A::template B::~B();
16
}
17
 
18
template  struct C: public A::template B { };
19
 
20
int main ()
21
{
22
  f();
23
}

powered by: WebSVN 2.1.0

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