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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// PR c++/49387
2
 
3
#include 
4
 
5
struct ResourceMonitorClient { };
6
 
7
template  struct ResourcePool : public ResourceMonitorClient {
8
  virtual ~ResourcePool() { }
9
};
10
 
11
template  struct BaseWriter {
12
 
13
  BaseWriter() {
14
    typeid(ResourcePool*);
15
  }
16
 
17
  virtual void run() {
18
    ResourcePool pool;
19
  }
20
 
21
};
22
 
23
BaseWriter b;

powered by: WebSVN 2.1.0

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