struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / support / regression / qct / 0048-inits.c
blobc0208c02df294b43326a8ad776a81749cadbe918
2 struct { int a; int b; int c; } s = {1, 2, 3};
4 int
5 main()
7 if (s.a != 1)
8 return 1;
9 if (s.b != 2)
10 return 2;
11 if (s.c != 3)
12 return 3;
14 return 0;