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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [inherit/] [access3.C] - Blame information for rev 841

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

Line No. Rev Author Line
1 149 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.