aboutsummaryrefslogtreecommitdiffstats
path: root/test/testFuncs1.c
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2016-11-25 00:20:06 +0000
committerbloodstalker <thabogre@gmail.com>2016-11-25 00:20:06 +0000
commiteced3fafc64f64e813206929421924b590da5f76 (patch)
treed0a5c18e6e62b4f70623de3fd0cea53977b1850e /test/testFuncs1.c
parentnew main file for the tdd tests (diff)
downloadmutator-eced3fafc64f64e813206929421924b590da5f76.tar.gz
mutator-eced3fafc64f64e813206929421924b590da5f76.zip
new tdd tests for 12.8
Diffstat (limited to 'test/testFuncs1.c')
-rw-r--r--test/testFuncs1.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/test/testFuncs1.c b/test/testFuncs1.c
index 1bbc24c..0d55730 100644
--- a/test/testFuncs1.c
+++ b/test/testFuncs1.c
@@ -4,7 +4,7 @@
/*include*/
/**********************************************************************************************************************/
#include "testFuncs1.h"
-//#include <string.h>
+#include <string.h>
/**************************************************MACROS & DEFS*******************************************************/
/**********************************************************************************************************************/
@@ -15,6 +15,8 @@ typedef unsigned int ut_int;
typedef signed int t_int;
typedef unsigned char BYTE;
+const unsigned int shift = 10U;
+
/******************************************************Globals*********************************************************/
/**********************************************************************************************************************/
@@ -912,5 +914,14 @@ void test20(void)
f = f << 4U;
}
+void test21(void)
+{
+ unsigned int a;
+ a = a >> 44U;
+ a = a >> shift;
+ a <<= 10U;
+ a << 45U;
+}
+
/**********************************************************************************************************************/
/*the last line's been intentionally left blank.*/