1/* PR bootstrap/48161 */
2
3struct T { int u; };
4struct G { int l; int t; int r; };
5struct V { struct G v[10]; };
6struct { struct V b; } *h;
7void bar (void);
8
9struct G *
10baz (struct V *x, unsigned y)
11{
12  return &x->v[y];
13}
14
15int
16foo (struct T *x, struct T *y)
17{
18  if ((baz (&h->b, y->u)->t ? baz (&h->b, y->u)->t : 0)
19      - baz (h ? &h->b : 0, x->u)->r
20      - (baz (h ? &h->b : 0, x->u)->t > 0 ? 5 : 0))
21    return 1;
22  bar ();
23  return 0;
24}
25