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
RISC-V: Fix rtl checking enabled failure with -msave-restore.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.mike
/
net36.C
blob
3ffa60e37a28dc3da61059678208399af8fa0779
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);
15
};
16
17
void f(B* b) {
18
b->setHandler(A::handlerFn); // { dg-error "" }
19
}