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/] [init6.C] - Blame information for rev 832

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

Line No. Rev Author Line
1 149 jeremybenn
// PR c++/25836
2
 
3
template 
4
class Iter {};
5
 
6
template 
7
class SubIter : public Iter {
8
  void insert(T);
9
};
10
 
11
class GraphBase {
12
public:
13
  class Node;
14
};
15
 
16
template
17
class Graph : public GraphBase {
18
  class Inner {
19
    Iter::Node*> *get();
20
  };
21
};
22
 
23
template
24
Iter::Node*> *Graph::Inner::get() {
25
  SubIter::Node*> *iter;
26
  iter->insert(0);
27
}
28
 
29
int main() {
30
  Iter::Node*> *n2_iter = new SubIter::Node*>();
31
}

powered by: WebSVN 2.1.0

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