Pick three bugfixes from next branch to trunk for inclusion in 4.5.0 RC2, as discusse...
[sdcc.git] / sdcc / support / regression / tests / bug-2059.c
blobc52b258573606a845d481f4f2af30740b4884fe1
1 /*
2 bug-2059.c
3 */
5 #include <testfwk.h>
6 #include <string.h>
8 char pg0[] = "SDCC";
9 char pg1[] = {"SDCC"};
11 void testBug (void)
13 static char ps0[] = "sdcc";
14 static char ps1[] = {"sdcc"};
15 char pa0[] = "benshi";
16 char pa1[] = {"benshi"};
18 ASSERT (strcmp (pg0, pg1) == 0);
19 ASSERT (strcmp (ps0, ps1) == 0);
20 ASSERT (strcmp (pa0, pa1) == 0);