struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / support / regression / qct / 0045-struct.c
blob418a4a1a43568e4c35233ccfc38332618f851bdf
1 struct T;
3 struct T {
4 int x;
5 };
7 int
8 main()
10 struct T v;
11 { struct T { int z; }; }
12 v.x = 2;
13 if(v.x != 2)
14 return 1;
15 return 0;