aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test/main.c3
-rw-r--r--test/testFuncs1.c33
-rw-r--r--test/testFuncs1.h3
3 files changed, 38 insertions, 1 deletions
diff --git a/test/main.c b/test/main.c
index b233546..48a5b4c 100644
--- a/test/main.c
+++ b/test/main.c
@@ -67,5 +67,8 @@ main()
test19();
test20();
test21();
+ test22();
+ test23();
+ test24();
}
/*intentionally left blank.*/
diff --git a/test/testFuncs1.c b/test/testFuncs1.c
index 0d55730..04c598a 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*******************************************************/
/**********************************************************************************************************************/
@@ -923,5 +923,36 @@ void test21(void)
a << 45U;
}
+void test22(void)
+{
+ unsigned int a;
+ int b;
+ t_int c;
+ ut_int d;
+
+ b = -a;
+ b = -c;
+ b = -d;
+}
+
+void test23 (void)
+{
+ int a, b, c;
+
+ a = b, c = a;
+}
+
+void test24(void)
+{
+ int a;
+ int b;
+ int c;
+
+ c = ++a - b--;
+ c = a++;
+ b++;
+ --a;
+}
+
/**********************************************************************************************************************/
/*the last line's been intentionally left blank.*/
diff --git a/test/testFuncs1.h b/test/testFuncs1.h
index 0961101..d5fe757 100644
--- a/test/testFuncs1.h
+++ b/test/testFuncs1.h
@@ -117,6 +117,9 @@ void test17(void);
void test19(void);
void test20(void);
void test21(void);
+void test22(void);
+void test23(void);
+void test24(void);
/***********************************************************************************************************/
/*ive been intentionally left blank. dont touch me.*/