Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
diagnostic
/
base-operand-non-pointer-1.C
blob: 26188d1b0efc25e00347c5e2998014e29f3e5c18 [
file
] [
log
] [
blame
]
class
C
{
public
:
C f
();
int
get
();
};
int
f
(
C
*
p
)
{
return
p
->
f
()->
get
();
}
// { dg-error "28:base operand of .->. has non-pointer type .C." }