struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / support / regression / tests / bug-2710.c
bloba1f407e2abe57c1c9f59e1b60ec298bfac273fc2
1 /*
2 bug1-2195.c
4 frontend couldn't handle the addition to void * used in comparison.
5 */
7 #include <testfwk.h>
9 void f(void *b, unsigned j)
11 unsigned char *i = b;
12 i <= b + j;
15 void testBug(void)
17 f(0, 0);