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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [g++.dg/] [inherit/] [access3.C] - Blame information for rev 338

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 301 jeremybenn
// { dg-do compile }
2
 
3
class __new_alloc {
4
public:
5
  static void allocate() {}
6
};
7
 
8
template 
9
class __debug_alloc : public _Alloc {
10
public:
11
  static void allocate();
12
};
13
 
14
template 
15
void __debug_alloc<_Alloc>::allocate() {
16
  _Alloc::allocate();
17
}
18
 
19
template class __debug_alloc<__new_alloc>;

powered by: WebSVN 2.1.0

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