struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / support / regression / tests / bug1888147.c
bloba9673a919a420e941fdbc7a9e7de736b93581add
1 /*
2 bug 1888147
3 */
5 #include <testfwk.h>
7 // no need to call this, it generates compiler error:
8 // Caught signal 11: SIGSEGV
9 int foo(int n)
11 int i = 0;
13 if (i!=0)
14 return n;
15 return 0;
18 void
19 testBug(void)
21 ASSERT(1);