diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/testFuncs1.c | 13 | ||||
-rw-r--r-- | test/testFuncs1.h | 1 |
2 files changed, 13 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.*/
diff --git a/test/testFuncs1.h b/test/testFuncs1.h index 78dfa42..0961101 100644 --- a/test/testFuncs1.h +++ b/test/testFuncs1.h @@ -116,6 +116,7 @@ void test15(void); void test17(void);
void test19(void);
void test20(void);
+void test21(void);
/***********************************************************************************************************/
/*ive been intentionally left blank. dont touch me.*/
|