X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=support%2Fregression%2Ftests%2Fbug-227710.c;h=013ddea84fba74ab55ef370b480b3ddeb2cc4557;hb=4df0866f3a46125114c3230f54a25d6ed3def732;hp=9b57e77ba4c0793753fbdfeed1bd985a4af4a619;hpb=310379d67c0559f33b1f2da2de2080c4d72ed553;p=fw%2Fsdcc diff --git a/support/regression/tests/bug-227710.c b/support/regression/tests/bug-227710.c index 9b57e77b..013ddea8 100644 --- a/support/regression/tests/bug-227710.c +++ b/support/regression/tests/bug-227710.c @@ -2,7 +2,7 @@ */ #include -static unsigned char _data[] = { +static unsigned char dataset[] = { 1, 2, 3, 4 }; @@ -17,12 +17,12 @@ foo(void) { // BUG, there will be a PRE-increment return p[s.index++]; -} +} void testPostIncrement(void) { - p = _data; + p = dataset; ASSERT(foo() == 1); ASSERT(foo() == 2); ASSERT(foo() == 3);