projects
/
gcc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
new
[gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.mike
/
net36.C
1
// Build don't link:
2
3
class X;
4
5
class A {
6
public:
7
void handlerFn(X*);
8
};
9
10
typedef void (A::*handler) (X*);
11
12
class B {
13
public:
14
void setHandler(handler);
15
};
16
17
void f(B* b) {
18
b->setHandler(A::handlerFn); // ERROR -
19
};