comparison gcc/testsuite/g++.old-deja/g++.other/badarrow.C @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents 04ced10e8804
children
comparison
equal deleted inserted replaced
131:84e7813d76e9 145:1830386684a0
4 int i; 4 int i;
5 } s; 5 } s;
6 6
7 void f() 7 void f()
8 { 8 {
9 s->i = 3; // { dg-error "" } base operand 9 s->i = 3; // { dg-error "4:base operand of .->. has non-pointer type .S." } base operand
10 } 10 }