aboutsummaryrefslogtreecommitdiffstats
path: root/test/testFuncs2.c
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2016-12-22 20:44:25 +0000
committerbloodstalker <thabogre@gmail.com>2016-12-22 20:44:25 +0000
commitd41a12f82009db4333217ce36e66cee505a70708 (patch)
tree81edd81b040620395924f68e0bed25db35e8ad08 /test/testFuncs2.c
parentadded 19.17, along with incomplete implementation of the 5.x rules and some a... (diff)
downloadmutator-d41a12f82009db4333217ce36e66cee505a70708.tar.gz
mutator-d41a12f82009db4333217ce36e66cee505a70708.zip
minor changes
Diffstat (limited to '')
-rw-r--r--test/testFuncs2.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/testFuncs2.c b/test/testFuncs2.c
index f3c680b..18b2260 100644
--- a/test/testFuncs2.c
+++ b/test/testFuncs2.c
@@ -260,10 +260,14 @@ void testfunc12(void)
short int port = 0x5aU;
short int resultshort;
int resultlong;
+ int mode;
resultshort = (~port) >> 4;
resultshort = ((short int)(~port)) >> 4;
+ /*should not be tagged by 10.1\2*/
resultlong = ((int)(~(int)port)) >> 4;
+ resultlong = ((port << 4) & mode) >> 6;
+ resultlong = ((int)((int)port << 4) & mode) >> 6;
}
/*the test are from the misrac doc for 11.5*/