repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
ptrmem29.C
blob
7700c0b9722b8eca8c74c40b1fdb631d1ff5f48a
1
// PR c++/62659
2
3
struct D {
4
typedef int (D::*cont_func)();
5
template <cont_func> struct B;
6
template <cont_func cont_f> void wait(B<cont_f> ***);
7
8
int done();
9
template <bool> void fix() { wait<&D::done>(0); }
10
};