Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
error43.C
blob: 1a72cbce20513442b450afcfb6f76141b3a60caa [
file
] [
log
] [
blame
]
// PR c++/31423
// { dg-options "" }
class
C
{
public
:
C
*
f
();
int
get
();
};
int
f
(
C
*
p
)
{
return
p
->
f
->
get
();
}
// { dg-error "25:invalid use of member function" }