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