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
/
template
/
ptrmem11.C
blob
da2ce499fbe6d206da662ca2d3c2e3e6cc1c5fed
1
// PR c++/18407
2
3
template <typename Class>
4
struct the_base{
5
template <void (Class::*Fn)()> void foo() { }
6
};
7
8
template <typename T>
9
struct derivedT: the_base<derivedT<T> > {
10
typedef the_base<derivedT<T> > parent;
11
void ice(){
12
this->parent::template foo< &derivedT<T>::ice>();
13
}
14
};
15
16
int main() {
17
derivedT<int> dT;
18
dT.ice();
19
}