struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / support / regression / qct / 0038-ptradd.c
bloba3539460fa52cde105c30293c367ee9334ffb34a
1 int
2 main()
4 int x[2];
5 int *p;
7 x[1] = 7;
8 p = &x[0];
9 p = p + 1;
11 if(*p != 7)
12 return 1;
13 if(&x[1] - &x[0] != 1)
14 return 1;
16 return 0;