Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
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'" }