Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.mike
/
net36.C
blob: 3ffa60e37a28dc3da61059678208399af8fa0779 [
file
] [
log
] [
blame
]
// { dg-do assemble }
class
X
;
class
A
{
public
:
void
handlerFn
(
X
*);
};
typedef
void
(
A
::*
handler
)
(
X
*);
class
B
{
public
:
void
setHandler
(
handler
);
};
void
f
(
B
*
b
)
{
b
->
setHandler
(
A
::
handlerFn
);
// { dg-error "" }
}