projects
/
gcc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
g++-dg.exp (g++-dg-test): Add "repo" option.
[gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.mike
/
net36.C
1
// { dg-do assemble }
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); // { dg-error "" } candidate
15
};
16
17
void f(B* b) {
18
b->setHandler(A::handlerFn); // { dg-error "" }
19
}