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