Sign in
gnu
/
gcc
/
1ba7adabf29eb671e418692fad076ea6edd08e3d
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
badarrow.C
blob: 2bcc3eb139482dadcf4762f2a7ccc041c6eb405c [
file
] [
log
] [
blame
]
// { dg-do assemble }
struct
S
{
int
i
;
}
s
;
void
f
()
{
s
->
i
=
3
;
// { dg-error "4:base operand of .->. has non-pointer type .S." } base operand
}