*/
#include <testfwk.h>
-static unsigned char _data[] = {
+static unsigned char dataset[] = {
1, 2, 3, 4
};
{
// 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);