struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / support / regression / qct / 0018-structptr.c
blob58b6b5d8fc852791ceac7822d5159ffd73093e02
3 int
4 main()
7 struct S { int x; int y; } s;
8 struct S *p;
10 p = &s;
11 s.x = 1;
12 p->y = 2;
13 return p->y + p->x - 3;