// Test for message: left operand of '.' must be struct or union, not '%s' [103]
/* lint1-extra-flags: -X 351 */
struct point {
int x, y;
};
void
test(struct point pt, struct point *ptr)
{
pt.x = 0;
/* expect+1: error: left operand of '.' must be struct or union, not 'pointer to struct point' [103] */
ptr.y = 0;
}