Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
error42.C
blob: 5e4c5bbdd2dcc4df0713180dc49034d4ac83a8fc [
file
] [
log
] [
blame
]
// PR c++/13657
class
C
{
public
:
int
(*
f
())();
int
bar
();
};
int
(*
C
::
f
())()
{
return
C
::
bar
;
}
// { dg-error "cannot convert 'C::bar'" }