struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / support / regression / tests / bug2938110.c
bloba500d3f6d0695dd9485dd7baafe93d538d2c6dde
1 /*
2 bug2938110.c
3 */
5 #include <testfwk.h>
7 // no need to call this, it generates compiler error:
8 // Internal error: validateOpType failed in
9 // OP_SYMBOL(IC_LEFT(ic)) @ src/ds390/ralloc.c:2660:
10 // expected symbol, got value
11 int
12 foo (int b)
14 int a = 10;
15 a += b;
16 return a;
19 void
20 testBug (void)
22 ASSERT (1);