repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
inherit
/
access3.C
blob
1862bfc347176bb4cac90e2190714089f2ba8a92
1
// { dg-do compile }
2
3
class __new_alloc {
4
public:
5
static void allocate() {}
6
};
7
8
template <class _Alloc>
9
class __debug_alloc : public _Alloc {
10
public:
11
static void allocate();
12
};
13
14
template <class _Alloc>
15
void __debug_alloc<_Alloc>::allocate() {
16
_Alloc::allocate();
17
}
18
19
template class __debug_alloc<__new_alloc>;