diff options
author | bloodstalker <thabogre@gmail.com> | 2016-12-22 20:44:25 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2016-12-22 20:44:25 +0000 |
commit | d41a12f82009db4333217ce36e66cee505a70708 (patch) | |
tree | 81edd81b040620395924f68e0bed25db35e8ad08 /test | |
parent | added 19.17, along with incomplete implementation of the 5.x rules and some a... (diff) | |
download | mutator-d41a12f82009db4333217ce36e66cee505a70708.tar.gz mutator-d41a12f82009db4333217ce36e66cee505a70708.zip |
minor changes
Diffstat (limited to 'test')
-rw-r--r-- | test/testFuncs2.c | 4 |
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*/ |