Pick three bugfixes from next branch to trunk for inclusion in 4.5.0 RC2, as discusse...
[sdcc.git] / sdcc / support / regression / tests / bug3135551.c
blob78201687db2933bfc2c29651ae71f0c3beae9080
1 /*
2 bug3135551.c
3 */
5 #include <testfwk.h>
7 char test1[] = {3};
8 char test2[1] = {1 + 2};
9 char test3[] = {1 + 2, 1 + 2};
10 char test4[] = {1 + 2}; //this line failed with error 2: Initializer element is not constant
11 char test5[] = "a";
13 void testBug(void)
15 ASSERT (1);