aboutsummaryrefslogtreecommitdiffstats
path: root/test/testFuncs2.c
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2017-01-08 13:54:45 +0000
committerbloodstalker <thabogre@gmail.com>2017-01-08 13:54:45 +0000
commit527f7a44b94cd969aa4b9e26cba02b6cb23724e5 (patch)
tree44b664a3a4d1060d0f8f985455a08ee560af279f /test/testFuncs2.c
parentupdated the implemented misra-c2004 rule count.its 127 (diff)
downloadmutator-527f7a44b94cd969aa4b9e26cba02b6cb23724e5.tar.gz
mutator-527f7a44b94cd969aa4b9e26cba02b6cb23724e5.zip
added tdd tests for 12.12
Diffstat (limited to 'test/testFuncs2.c')
-rw-r--r--test/testFuncs2.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/test/testFuncs2.c b/test/testFuncs2.c
index 4bd6ec3..f11a896 100644
--- a/test/testFuncs2.c
+++ b/test/testFuncs2.c
@@ -77,9 +77,9 @@ typedef gaga incompletearr1;
#undef LOCOLUPO
#endif
-#define START 0x8000
-#define END 0xFFFF
-#define LEN 0x8000
+#define START 0x80000000
+#define END 0xFFFFFFFF
+#define LEN 0x80000000
#if ((START + LEN) > END)
#if 0
#error Buffer Overrun
@@ -313,11 +313,13 @@ void testfunc11(void)
short unsigned int b;
short int* p1;
long int* p2;
+ int normalint;
p2 = (long int*)p1;
p1 = (short int*)p2;
b = a;
dd = b;
+ normalint = a;
}
void testfunc12(void)