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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.old-deja/] [g++.pt/] [crash39.C] - Blame information for rev 699

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 699 jeremybenn
// { dg-do assemble  }
2
// Origin: Ian Nixon 
3
 
4
class Action {
5
public:
6
  virtual void action () = 0;
7
};
8
 
9
class Var {
10
public:
11
 
12
  template void Add() {
13
        struct tmp : public Action {
14
          void action () {}
15
        };
16
        tmp *tp = new tmp;
17
  }
18
 
19
};

powered by: WebSVN 2.1.0

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